public function run($command)
    {
        $this->command = escapeshellcmd($command);
        $this->process->setCommandLine($this->command);
        $this->process->run();
        $this->validateRun();

        return $this;
    }
public function run($command)
    {
        $this->command = escapeshellcmd($command);
        $this->process->setCommandLine($this->command);
        $this->process->run();
        $this->validateRun();

        return $this;
    }
public function run ( $ command ) { $ this -> command = escapeshellcmd ( $ command ) ; $ this -> process -> setCommandLine ( $ this -> command ) ; $ this -> process -> run ( ) ; $ this -> validateRun ( ) ; return $ this ; }
Run a command as a process.

@param string $command
@return self
Run a command as a process .