kill method
Send a signal to process.
Default signal is "SIGTERM"
.
const p = Deno.run({ cmd: [ "sleep", "20" ]});
p.kill("SIGTERM");
p.close();
Implementation
void kill([_i4.Signal? signo]) {
_i3.callMethod(
this,
'kill',
[signo?.name ?? _i6.undefined ?? _i6.undefined],
);
}