features/bootstrap/FeatureContext.php
public function iRunBehatInteractively($answerString, $argumentsString)
    {
        $env = $this->process->getEnv();
        $env['SHELL_INTERACTIVE'] = true;

        $this->process->setEnv($env);
        $this->process->setInput($answerString);

        $this->options = '--format-settings=\'{"timer": false}\'';
        $this->iRunBehat($argumentsString);
    }
public function iRunBehatInteractively($answerString, $argumentsString)
    {
        $env = $this->process->getEnv();
        $env['SHELL_INTERACTIVE'] = true;

        $this->process->setEnv($env);
        $this->process->setInput($answerString);

        $this->options = '--format-settings=\'{"timer": false}\'';
        $this->iRunBehat($argumentsString);
    }
public function iRunBehatInteractively ( $ answerString , $ argumentsString ) { $ env = $ this -> process -> getEnv ( ) ; $ env [ 'SHELL_INTERACTIVE' ] = true ; $ this -> process -> setEnv ( $ env ) ; $ this -> process -> setInput ( $ answerString ) ; $ this -> options = '--format-settings=\'{"timer": false}\'' ; $ this -> iRunBehat ( $ argumentsString ) ; }
Runs behat command with provided parameters in interactive mode

@When /^I answer "([^"]+)" when running "behat(?: ((?:\"|[^"])*))?"$/

@param string $answerString
@param string $argumentsString
Runs behat command with provided parameters in interactive mode