gdi32: Use exec() and _exit() instead of system() and exit().
This commit is contained in:
parent
1f420967f0
commit
9ccad53fb9
|
@ -505,8 +505,8 @@ static int CreateSpoolFile(LPCSTR pszOutput)
|
||||||
signal( SIGPIPE, SIG_DFL );
|
signal( SIGPIPE, SIG_DFL );
|
||||||
signal( SIGCHLD, SIG_DFL );
|
signal( SIGCHLD, SIG_DFL );
|
||||||
|
|
||||||
system(psCmdP);
|
execl("/bin/sh", "/bin/sh", "-c", psCmdP, (char*)0);
|
||||||
exit(0);
|
_exit(1);
|
||||||
|
|
||||||
}
|
}
|
||||||
close (fds[0]);
|
close (fds[0]);
|
||||||
|
|
Loading…
Reference in New Issue