# | Line 281 | Line 281 | open_process(SUBPROC *proc, char *av[]) | |
---|---|---|
281 | ||
282 | proc->running = 0; | |
283 | cmdpath = getpath(av[0], getenv("PATH"), X_OK); | |
284 | < | cmdstr = quoted_cmdline(cmdpath, av); |
284 | > | cmdstr = quoted_cmdline(cmdpath, av+1); |
285 | if (cmdstr == NULL) { return 0; } | |
286 | return start_process(proc, cmdstr); | |
287 | } | |
# | Line 325 | Line 325 | close_process(SUBPROC *proc) { | |
325 | /* something went wrong: enforce infanticide */ | |
326 | /* other than that, it looks like we want to ignore errors here */ | |
327 | if (proc->running) { | |
328 | < | int win_kill(pid, 0); |
328 | > | win_kill(pid, 0); |
329 | } | |
330 | } | |
331 | proc->running = 0; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |