1
0
mirror of https://github.com/danog/process.git synced 2024-11-29 20:29:16 +01:00

Await process termination @ kill

This commit is contained in:
Niklas Keller 2018-07-25 22:36:28 +02:00
parent 416f916153
commit 1c8bf5e04c

View File

@ -130,6 +130,12 @@ class Process
}
$this->processRunner->kill($this->handle);
try {
$this->processRunner->join($this->handle);
} catch (\Throwable $e) {
// ignore here
}
}
/**