Function kill [src]

Forcibly terminates child process and then cleans up all resources.

Prototype

pub fn kill(self: *ChildProcess) !Term

Parameters

self: *ChildProcess

Source

pub fn kill(self: *ChildProcess) !Term { if (native_os == .windows) { return self.killWindows(1); } else { return self.killPosix(); } }