X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Frun-program.c;h=08feaa19322622b3ef35c9220ab0a70567a5b351;hb=8bb8f286dbacf1792a26de693c795d268516672c;hp=61ad7617bd871f974c4a846654d21d79e85d19d4;hpb=7275aafca8c682f874161d92aa07662a53f056b7;p=sbcl.git diff --git a/src/runtime/run-program.c b/src/runtime/run-program.c index 61ad761..08feaa1 100644 --- a/src/runtime/run-program.c +++ b/src/runtime/run-program.c @@ -67,6 +67,8 @@ int spawn(char *program, char *argv[], char *envp[], char *pty_name, /* Put us in our own process group. */ #if defined(hpux) setsid(); +#elif defined(LISP_FEATURE_DARWIN) + setpgid(0, getpid()); #elif defined(SVR4) || defined(__linux__) || defined(__osf__) setpgrp(); #else