mirror of
https://github.com/danog/process.git
synced 2024-12-02 17:51:46 +01:00
25 lines
435 B
PHP
25 lines
435 B
PHP
<?php
|
|
|
|
namespace Amp\Process\Internal;
|
|
|
|
use Amp\ByteStream\ResourceInputStream;
|
|
use Amp\ByteStream\ResourceOutputStream;
|
|
|
|
abstract class ProcessHandle
|
|
{
|
|
/** @var ResourceOutputStream */
|
|
public $stdin;
|
|
|
|
/** @var ResourceInputStream */
|
|
public $stdout;
|
|
|
|
/** @var ResourceInputStream */
|
|
public $stderr;
|
|
|
|
/** @var int */
|
|
public $pid = 0;
|
|
|
|
/** @var bool */
|
|
public $status = ProcessStatus::STARTING;
|
|
}
|