From 243ea0e6f7317e4f0ea9c5bbdb747425933db46a Mon Sep 17 00:00:00 2001 From: Luis Pabon Date: Wed, 2 Dec 2015 18:12:57 +0000 Subject: [PATCH] Fix workers crashing when we're on a filesystem path with spaces --- src/ParaTest/Runners/PHPUnit/Worker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParaTest/Runners/PHPUnit/Worker.php b/src/ParaTest/Runners/PHPUnit/Worker.php index 62a8e6b3..124023b6 100644 --- a/src/ParaTest/Runners/PHPUnit/Worker.php +++ b/src/ParaTest/Runners/PHPUnit/Worker.php @@ -32,7 +32,7 @@ public function start($wrapperBinary, $token = 1, $uniqueToken = null) if ($uniqueToken) { $bin .= "UNIQUE_TEST_TOKEN=$uniqueToken "; } - $bin .= "exec $wrapperBinary"; + $bin .= "exec \"$wrapperBinary\""; $pipes = array(); $this->proc = proc_open($bin, self::$descriptorspec, $pipes); $this->pipes = $pipes;