mirror of
https://github.com/danog/process.git
synced 2024-12-02 09:37:55 +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);
|
$this->processRunner->kill($this->handle);
|
||||||
|
|
||||||
|
try {
|
||||||
|
$this->processRunner->join($this->handle);
|
||||||
|
} catch (\Throwable $e) {
|
||||||
|
// ignore here
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user