public function iRunPhpspec($argumentsString = '')
    {
        $argumentsString = strtr($argumentsString, array('\'' => '"'));

        $this->process->setWorkingDirectory($this->workingDir);
        $this->process->setCommandLine(
            sprintf(
                '%s %s %s --no-interaction',
                $this->phpBin,
                escapeshellarg($this->getPhpspecBinPath()),
                $argumentsString
            )
        );
        $this->process->start();
        $this->process->wait();
    }
public function iRunPhpspec($argumentsString = '')
    {
        $argumentsString = strtr($argumentsString, array('\'' => '"'));

        $this->process->setWorkingDirectory($this->workingDir);
        $this->process->setCommandLine(
            sprintf(
                '%s %s %s --no-interaction',
                $this->phpBin,
                escapeshellarg($this->getPhpspecBinPath()),
                $argumentsString
            )
        );
        $this->process->start();
        $this->process->wait();
    }
public function iRunPhpspec ( $ argumentsString = '' ) { $ argumentsString = strtr ( $ argumentsString , array ( '\'' => '"' ) ) ; $ this -> process -> setWorkingDirectory ( $ this -> workingDir ) ; $ this -> process -> setCommandLine ( sprintf ( '%s %s %s --no-interaction' , $ this -> phpBin , escapeshellarg ( $ this -> getPhpspecBinPath ( ) ) , $ argumentsString ) ) ; $ this -> process -> start ( ) ; $ this -> process -> wait ( ) ; }
Runs phpspec command with provided parameters

@When /^I run "phpspec(?: ((?:\"|[^"])*))?"$/

@param string $argumentsString
Runs phpspec command with provided parameters