private function buildArgString() { $argstring = ''; foreach ($this->executionContext->asEnv() as $key => $value) { $argstring .= 'SET ' . $key . '=' . $value . ' && '; } return $argstring; }
private function buildArgString() { $argstring = ''; foreach ($this->executionContext->asEnv() as $key => $value) { $argstring .= $key . '=' . escapeshellarg($value) . ' '; } return $argstring; }
/** * Kills the current process and starts a new one */ public function reRunSuite() { $args = $_SERVER['argv']; $env = $this->executionContext ? $this->executionContext->asEnv() : array(); pcntl_exec($this->getExecutablePath(), $args, array_merge($env, $_SERVER)); }