Pipes\WindowsPipes (Component\Process)
Symfony\Component\Process\Pipes\WindowsPipes
class WindowsPipes extends AbstractPipes
WindowsPipes implementation uses temporary files as handles.
Properties
array | $pipes |
Methods
close() Closes file handles and pipes. | ||
__construct($disableOutput, $input) | ||
__destruct() | ||
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 | areOpen() Returns if the current state has open file handles or pipes. | |
static WindowsPipes | create(Process $process, $input $input) Creates a new WindowsPipes instance. |
Details
public close()
Closes file handles and pipes.
public __construct($disableOutput, $input)
public __destruct()
public array getDescriptors()
Returns an array of descriptors for the use of proc_open.
public string[] getFiles()
Returns an array of filenames indexed by their related stream in case these pipes use temporary files.
public string[] readAndWrite(bool $blocking, bool $close = false)
Reads data in file handles and pipes.
public bool areOpen()
Returns if the current state has open file handles or pipes.
static public WindowsPipes create(Process $process, $input $input)
Creates a new WindowsPipes instance.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Process/Pipes/WindowsPipes.html