mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
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:
parent
e824161b6f
commit
758d07c90c
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ NSString *NSTaskDidTerminateNotification = @"NSTaskDidTerminateNotification";
|
||||||
odesc = [[self standardError] fileDescriptor];
|
odesc = [[self standardError] fileDescriptor];
|
||||||
edesc = [[self standardOutput] fileDescriptor];
|
edesc = [[self standardOutput] fileDescriptor];
|
||||||
|
|
||||||
|
signal(SIGCHLD, SIG_IGN);
|
||||||
pid = fork();
|
pid = fork();
|
||||||
if (pid < 0) {
|
if (pid < 0) {
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue