*/
function __construct( $command, $file = null ) {
if ( !is_null( $file ) ) {
*/
function __construct( $command, $file = null ) {
if ( !is_null( $file ) ) {
$this->procOpenResource = proc_open( $command, $spec, $pipes );
$this->handle = $pipes[0];
}
$this->procOpenResource = proc_open( $command, $spec, $pipes );
$this->handle = $pipes[0];
}