| 1 | <?php |
||
| 7 | class SystemUnix implements SystemInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var IsolateInterface|null |
||
| 11 | */ |
||
| 12 | protected $isolator; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param IsolateInterface|null $isolator |
||
| 16 | */ |
||
| 17 | public function __construct(IsolateInterface $isolator = null) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * |
||
| 24 | */ |
||
| 25 | public function __destruct() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @override |
||
| 32 | * @inheritDoc |
||
| 33 | */ |
||
| 34 | public function run($command) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @override |
||
| 50 | * @inheritDoc |
||
| 51 | */ |
||
| 52 | public function kill($pid) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @override |
||
| 61 | * @inheritDoc |
||
| 62 | */ |
||
| 63 | public function existsPid($pid) |
||
| 69 | } |
||
| 70 |