isRunning method
returns true if the given pid is still running.
Throws an UnsupportedError if the OS is not supported.
@Throwing(PosixException)
Implementation
bool isRunning(int? pid) {
if (Settings().isWindows) {
return _windowsIsrunning(pid);
} else {
return _posixIsRunning(pid);
}
}