Lines Matching refs:pid
58 GPid pid;
76 g_spawn_close_pid(rd->pid);
149 run_exited(GPid pid, gint status, gpointer data)
154 printf("pid %d: rc=%d signaled=%d: %s\n",
155 pid, WEXITSTATUS(status), WIFSIGNALED(status), rd->r->argv[0]);
185 gint64 ppid = rd->pid;
204 kill(rd->pid, SIGTERM);
244 GPid pid;
274 NULL, NULL, &pid,
298 rd->pid = pid;
303 rd->watch = g_child_watch_add(pid, run_exited, rd);
324 *out_pid = pid;
335 kill(rd->pid, SIGTERM);
336 printf("Sent kill to %d\n", rd->pid);