isRunning method Null safety
- int? pid
returns true if the given pid
is still running.
Implementation
bool isRunning(int? pid) {
if (Settings().isWindows) {
return _windowsIsrunning(pid);
} else {
return _linuxisRunning(pid);
}
}
returns true if the given pid
is still running.
bool isRunning(int? pid) {
if (Settings().isWindows) {
return _windowsIsrunning(pid);
} else {
return _linuxisRunning(pid);
}
}