src/PatchExecutor.php
protected function run($command, $standardInput = null)
    {
        $stdOut = '';
        $stdErr = '';
        $stdOut = array();
        $rc = $this->processExecutor->execute($command, $stdOut);
        $stdOut = (string) $stdOut;
        $stdErr = (string) $this->processExecutor->getErrorOutput();

        return array($rc, $stdOut, $stdErr);
    }
protected function run($command, $standardInput = null)
    {
        $stdOut = '';
        $stdErr = '';
        $stdOut = array();
        $rc = $this->processExecutor->execute($command, $stdOut);
        $stdOut = (string) $stdOut;
        $stdErr = (string) $this->processExecutor->getErrorOutput();

        return array($rc, $stdOut, $stdErr);
    }
protected function run ( $ command , $ standardInput = null ) { $ stdOut = '' ; $ stdErr = '' ; $ stdOut = array ( ) ; $ rc = $ this -> processExecutor -> execute ( $ command , $ stdOut ) ; $ stdOut = ( string ) $ stdOut ; $ stdErr = ( string ) $ this -> processExecutor -> getErrorOutput ( ) ; return array ( $ rc , $ stdOut , $ stdErr ) ; }
Run a command and return the exit code.

@param string $command The command to be executed
@param null|mixed $standardInput

@return array First element is the command return code, second element is the standard output, thirg element is the standard error
Run a command and return the exit code .