40 if ( !is_null( $file ) ) {
46 $this->filename = $file;
53 parent::writeCloseStream( $string );
54 if ( $this->procOpenResource ) {
55 proc_close( $this->procOpenResource );
56 $this->procOpenResource =
false;
68 $this->procOpenResource = proc_open(
$command, $spec, $pipes );
69 $this->handle = $pipes[0];
86 if ( $this->handle ) {
87 fclose( $this->handle );
88 $this->handle =
false;
90 if ( $this->procOpenResource ) {
91 proc_close( $this->procOpenResource );
92 $this->procOpenResource =
false;