Ignore sigchld

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3349 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1998-11-28 18:03:12 +00:00
parent e824161b6f
commit 758d07c90c

View file

@ -305,6 +305,7 @@ NSString *NSTaskDidTerminateNotification = @"NSTaskDidTerminateNotification";
odesc = [[self standardError] fileDescriptor];
edesc = [[self standardOutput] fileDescriptor];
signal(SIGCHLD, SIG_IGN);
pid = fork();
if (pid < 0) {
[NSException raise: NSInvalidArgumentException