kill multimethod

Methods

kill(pid:Int, sig:Int=15) Source: stdlib.ngs:4964
Send signal to a process. Uses KILL(2). Throws KillFail on error.

Parameters

sigSignal to send. Defaults to SIGNALS.TERM

Returns

unspecified at this time, do not count on it
kill(p:Process, sig:Int=15) Source: stdlib.ngs:4977
Send signal to a Process. Uses KILL(2). Throws InvalidArgument if Process does not have "pid". Throws KillFail on error.

Parameters

sigSignal to send. Defaults to SIGNALS.TERM

Returns

unspecified at this time, do not count on it
kill(cp:CommandsPipeline, sig:Int=15) Source: stdlib.ngs:4983
Kill all processes in the CommandsPipeline. Throws InvalidArgument if CommandsPipeline is not running (yet).