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 89de497 commit b1453c4Copy full SHA for b1453c4
run-tests.php
@@ -1172,6 +1172,13 @@ function system_with_timeout(
1172
) {
1173
global $valgrind;
1174
1175
+ // when proc_open cmd is passed as a string (without bypass_shell=true option) the cmd goes thru shell
1176
+ // and on Windows quotes are discarded, this is a fix to honor the quotes and allow values containing
1177
+ // spaces like '"C:\Program Files\PHP\php.exe"' to be passed as 1 argument correctly
1178
+ if (IS_WINDOWS) {
1179
+ $commandline = 'start "" /b /wait ' . $commandline;
1180
+ }
1181
+
1182
$data = '';
1183
1184
$bin_env = [];
0 commit comments