Return to cmd_exec.c CVS log | Up to [local] / src / usr.bin / make |
version 1.10, 2016/03/28 11:27:37 | version 1.11, 2020/01/16 16:07:18 | ||
---|---|---|---|
|
|
||
#include "buf.h" | #include "buf.h" | ||
#include "memory.h" | #include "memory.h" | ||
#include "pathnames.h" | #include "pathnames.h" | ||
#include "job.h" | |||
char * | char * | ||
Cmd_Exec(const char *cmd, char **err) | Cmd_Exec(const char *cmd, char **err) | ||
|
|
||
/* Fork */ | /* Fork */ | ||
switch (cpid = fork()) { | switch (cpid = fork()) { | ||
case 0: | case 0: | ||
reset_signal_mask(); | |||
/* Close input side of pipe */ | /* Close input side of pipe */ | ||
(void)close(fds[0]); | (void)close(fds[0]); | ||