Skip to content

Commit b8e4d9f

Browse files
committed
Use shell-free proc_open() in parallel run-tests.php
1 parent d52fdd5 commit b8e4d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ function run_all_tests_parallel(array $test_files, array $env, $redir_tested): v
14511451
$startTime = microtime(true);
14521452
for ($i = 1; $i <= $workers; $i++) {
14531453
$proc = proc_open(
1454-
$thisPHP . ' ' . escapeshellarg($thisScript),
1454+
[$thisPHP, $thisScript],
14551455
[], // Inherit our stdin, stdout and stderr
14561456
$pipes,
14571457
null,

0 commit comments

Comments
 (0)