Lines Matching refs:do_cmd_pid
153 pid_t do_cmd_pid = -1; variable
158 if (do_cmd_pid > 1) { in killchild()
159 kill(do_cmd_pid, signo ? signo : SIGTERM); in killchild()
160 waitpid(do_cmd_pid, NULL, 0); in killchild()
173 if (do_cmd_pid > 1) { in suspchild()
174 kill(do_cmd_pid, signo); in suspchild()
175 while (waitpid(do_cmd_pid, &status, WUNTRACED) == -1 && in suspchild()
207 do_cmd_pid = pid; in do_local_cmd()
216 do_cmd_pid = -1; in do_local_cmd()
263 do_cmd_pid = fork(); in do_cmd()
264 if (do_cmd_pid == 0) { in do_cmd()
285 } else if (do_cmd_pid == -1) { in do_cmd()
520 do_cmd_pid = -1; in main()
540 if (do_cmd_pid != -1 && errs == 0) { in main()
545 if (waitpid(do_cmd_pid, &status, 0) == -1) in main()