X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15b663b4c3ef63658aee62160476e9f3dc8bfb99..2d956b58023a4955313a1c1531bc70a0deb0b831:/src/unix/utilsunx.cpp diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 94ecc08e2d..b372b21c34 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -651,12 +651,14 @@ long wxExecute(wxChar **argv, close(fd); } - if ( flags & wxEXEC_MAKE_GROUP_LEADER ) +#ifndef __VMS + if ( flags & wxEXEC_MAKE_GROUP_LEADER ) { // Set process group to child process' pid. Then killing -pid // of the parent will kill the process and all of its children. setsid(); } +#endif } // redirect stdio, stdout and stderr