Lines Matching refs:pid
19 int pid; member
35 *data = ((struct xterm_chan) { .pid = -1, in xterm_init()
91 int pid, fd, new, err; in xterm_open() local
140 pid = run_helper(NULL, NULL, argv); in xterm_open()
141 if (pid < 0) { in xterm_open()
142 err = pid; in xterm_open()
186 data->pid = pid; in xterm_open()
194 os_kill_process(pid, 1); in xterm_open()
205 if (data->pid != -1) in xterm_close()
206 os_kill_process(data->pid, 1); in xterm_close()
207 data->pid = -1; in xterm_close()