8000 Fixed command-line that was not retrieving all arguments properly · symfony/panther@b7710f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit b7710f5

Browse files
Pierstovaldunglas
authored andcommitted
Fixed command-line that was not retrieving all arguments properly
1 parent 15723b5 commit b7710f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ProcessManager/WebServerManager.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ public function __construct(string $documentRoot, string $hostname, int $port)
4444
throw new \RuntimeException('Unable to find the PHP binary.');
4545
}
4646

47-
$this->process = new Process([$binary] + $finder->findArguments() + ['-dvariables_order=EGPCS', '-S', \sprintf('%s:%d', $this->hostname, $this->port)], $documentRoot, null, null, null);
47+
$commandLine = array_merge([$binary], $finder->findArguments(), ['-dvariables_order=EGPCS', '-S', \sprintf('%s:%d', $this->hostname, $this->port)]);
48+
49+
$this->process = new Process($commandLine, $documentRoot, null, null, null);
4850
}
4951

5052
public function start(): void

0 commit comments

Comments
 (0)
0