public function launchProcess($command, array $arguments = array(), $killable = true)
    {
        $this->installSignalHandlers($killable);

        $exitCode = $this->run($command, $arguments);

        $this->restoreSignalHandlers($killable);

        return $exitCode;
    }
public function launchProcess($command, array $arguments = array(), $killable = true)
    {
        $this->installSignalHandlers($killable);

        $exitCode = $this->run($command, $arguments);

        $this->restoreSignalHandlers($killable);

        return $exitCode;
    }
public function launchProcess ( $ command , array $ arguments = array ( ) , $ killable = true ) { $ this -> installSignalHandlers ( $ killable ) ; $ exitCode = $ this -> run ( $ command , $ arguments ) ; $ this -> restoreSignalHandlers ( $ killable ) ; return $ exitCode ; }
Launches a process in the foreground.

@param string   $command   The command to execute.
@param string[] $arguments Arguments to be quoted and inserted into the
command. Each key "key" in the array should
correspond to a placeholder "%key%" in the
command.
@param bool     $killable  Whether the process can be killed by the user.

@return int The exit status of the process.
Launches a process in the foreground .