cfunction
src/core/os.c on line 592, column 1
(os/proc-kill proc &opt wait)
Kill a subprocess by sending SIGKILL to it on posix systems, or by
closing the process handle on windows. If `wait` is truthy, will
wait for the process to finish and returns the exit code.
Otherwise, returns `proc`.