Skip to content

Commit 4dc7795

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Fix run-tests.php to propagate status code on Windows
2 parents 8699da6 + 71b9087 commit 4dc7795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ function system_with_timeout(
11581158
// and on Windows quotes are discarded, this is a fix to honor the quotes and allow values containing
11591159
// spaces like '"C:\Program Files\PHP\php.exe"' to be passed as 1 argument correctly
11601160
if (IS_WINDOWS) {
1161-
$commandline = 'start "" /b /wait ' . $commandline;
1161+
$commandline = 'start "" /b /wait ' . $commandline . ' & exit';
11621162
}
11631163

11641164
$data = '';

0 commit comments

Comments
 (0)