winspool.drv: Use exec() and _exit() instead of system() and exit().
This commit is contained in:
parent
551b4117c4
commit
1f420967f0
|
@ -7224,8 +7224,8 @@ static BOOL schedule_pipe(LPCWSTR cmd, LPCWSTR filename)
|
|||
signal(SIGPIPE, SIG_DFL);
|
||||
signal(SIGCHLD, SIG_DFL);
|
||||
|
||||
system(cmdA);
|
||||
exit(0);
|
||||
execl("/bin/sh", "/bin/sh", "-c", cmdA, (char*)0);
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
while((no_read = read(file_fd, buf, sizeof(buf))) > 0)
|
||||
|
|
Loading…
Reference in New Issue