We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fc2a46 commit a1f8187Copy full SHA for a1f8187
features/bootstrap/FeatureContext.php
@@ -304,9 +304,9 @@ private function execute(array $env = array())
304
private function startWebServer()
305
{
306
$this->webServerURL = 'http://127.0.0.1:10000';
307
- $command = sprintf('%s -S "%s"', $this->phpBin, '127.0.0.1:10000');
308
- if (!strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
309
- $command = 'exec' . $command;
+ $command = sprintf('exec %s -S "%s"', $this->phpBin, '127.0.0.1:10000');
+ if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
+ $command = sprintf('%s -S "%s"', $this->phpBin, '127.0.0.1:10000');
310
}
311
if ($this->phpBinOptions) {
312
$command = sprintf("%s %s", $command, $this->phpBinOptions);
0 commit comments