Lines Matching refs:do_cmd_pid
163 pid_t do_cmd_pid = -1; variable
168 if (do_cmd_pid > 1) { in killchild()
169 kill(do_cmd_pid, signo ? signo : SIGTERM); in killchild()
170 waitpid(do_cmd_pid, NULL, 0); in killchild()
183 if (do_cmd_pid > 1) { in suspchild()
184 kill(do_cmd_pid, signo); in suspchild()
185 while (waitpid(do_cmd_pid, &status, WUNTRACED) == -1 && in suspchild()
217 do_cmd_pid = pid; in do_local_cmd()
226 do_cmd_pid = -1; in do_local_cmd()
276 do_cmd_pid = fork(); in do_cmd()
277 if (do_cmd_pid == 0) { in do_cmd()
302 } else if (do_cmd_pid == -1) { in do_cmd()
559 do_cmd_pid = -1; in main()
579 if (do_cmd_pid != -1 && errs == 0) { in main()
584 if (waitpid(do_cmd_pid, &status, 0) == -1) in main()