mirror of
https://github.com/danog/process.git
synced 2024-11-30 04:39:04 +01:00
Await process termination @ kill
This commit is contained in:
parent
416f916153
commit
1c8bf5e04c
@ -130,6 +130,12 @@ class Process
|
||||
}
|
||||
|
||||
$this->processRunner->kill($this->handle);
|
||||
|
||||
try {
|
||||
$this->processRunner->join($this->handle);
|
||||
} catch (\Throwable $e) {
|
||||
// ignore here
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user