mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
add is_running support
This commit is contained in:
@@ -191,6 +191,14 @@ void Process::kill(PID pid)
|
||||
killImpl(pid);
|
||||
}
|
||||
|
||||
bool Process::isRunning(const ProcessHandle& handle)
|
||||
{
|
||||
return isRunningImpl(*handle._pImpl);
|
||||
}
|
||||
bool Process::isRunning(PID pid)
|
||||
{
|
||||
return isRunningImpl(pid);
|
||||
}
|
||||
|
||||
void Process::requestTermination(PID pid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user