_generated\CliTesterActions::runShellCommand PHP Method

runShellCommand() public method

Executes a shell command. Fails If exit code is > 0. You can disable this by setting second parameter to false php runShellCommand('phpunit'); do not fail test when command fails $I->runShellCommand('phpunit', false);
See also: Codeception\Module\Cli::runShellCommand()
public runShellCommand ( $command, boolean $failNonZero = null )
$command
$failNonZero boolean
    public function runShellCommand($command, $failNonZero = null)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\Action('runShellCommand', func_get_args()));
    }