kill method
Kills the process.
Returns true
if the signal is successfully delivered to the process.
Otherwise the signal could not be sent, usually meaning that the process is already dead.
Implementation
bool kill([ProcessSignal signal = ProcessSignal.SIGTERM]) {
_onBuildController.close();
return _proc?.kill(signal) ?? false;
}