s="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/4e5889e/src/core/os.c#L729">source</a></span> <pre class="binding-text">(os/proc-kill proc &amp;opt wait signal)

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`. If signal is specified send it instead.Signal keywords are named after