public function prepare(BehatWrapper $behat, BehatCommand $command, $cwd = null) { // Build the command line options, flags, and arguments. $binary = ProcessUtils::escapeArgument($behat->getBehatBinary()); $commandLine = rtrim($binary . ' ' . $command->getCommandLine()); parent::__construct($commandLine, $cwd, null, null, $behat->getTimeout(), array()); }