public function run(RunnableInterface $command, callable $func = null)
    {
        if ($func) {
            throw new \Exception('You cannot process passthru with a callable. Use another Runner instead.');
        }

        $command = (string) $command->getCommandAssembler();
        passthru($command, $status);
        return $this->getResponseClass($command, $status, '');
    }
public function run(RunnableInterface $command, callable $func = null)
    {
        if ($func) {
            throw new \Exception('You cannot process passthru with a callable. Use another Runner instead.');
        }

        $command = (string) $command->getCommandAssembler();
        passthru($command, $status);
        return $this->getResponseClass($command, $status, '');
    }
public function run ( RunnableInterface $ command , callable $ func = null ) { if ( $ func ) { throw new \ Exception ( 'You cannot process passthru with a callable. Use another Runner instead.' ) ; } $ command = ( string ) $ command -> getCommandAssembler ( ) ; passthru ( $ command , $ status ) ; return $ this -> getResponseClass ( $ command , $ status , '' ) ; }
Passes through result of the command so no output is set
@link http://php.net/passthru
@param RunnableInterface $command
Passes through result of the command so no output is set