mirror of
https://github.com/danog/process.git
synced 2024-12-11 16:49:40 +01:00
a9f60b8d89
This might happen if the process is destroyed while the wrapper tries to establish the connections.
28 lines
483 B
PHP
28 lines
483 B
PHP
<?php
|
|
|
|
namespace Amp\Process\Internal;
|
|
|
|
use Amp\Deferred;
|
|
use Amp\Process\ProcessInputStream;
|
|
use Amp\Process\ProcessOutputStream;
|
|
use Amp\Struct;
|
|
|
|
abstract class ProcessHandle {
|
|
use Struct;
|
|
|
|
/** @var ProcessOutputStream */
|
|
public $stdin;
|
|
|
|
/** @var ProcessInputStream */
|
|
public $stdout;
|
|
|
|
/** @var ProcessInputStream */
|
|
public $stderr;
|
|
|
|
/** @var Deferred */
|
|
public $pidDeferred;
|
|
|
|
/** @var int */
|
|
public $status = ProcessStatus::STARTING;
|
|
}
|