UnixPipes
class UnixPipes extends AbstractPipes
UnixPipes implementation uses unix pipes as handles.
Properties
$pipes | from AbstractPipes |
Methods
__construct(bool|null $ttyMode, bool $ptyMode, resource|string|int|float|bool|Iterator|null $input, bool $haveReadSupport)
No description
bool
hasSystemCallBeenInterrupted()
Returns true if a system call has been interrupted.
from AbstractPipes
__destruct()
No description
array
getDescriptors()
Returns an array of descriptors for the use of proc_open.
string[]
getFiles()
Returns an array of filenames indexed by their related stream in case these pipes use temporary files.
string[]
readAndWrite(bool $blocking, bool $close = false)
Reads data in file handles and pipes.
bool
haveReadSupport()
Returns if pipes are able to read output.
bool
areOpen()
Returns if the current state has open file handles or pipes.