Skip to content

Commit

Permalink
Merge branch 'PHP-8.3'
Browse files Browse the repository at this point in the history
* PHP-8.3:
  Fix run-tests.php to propagate status code on Windows
  • Loading branch information
cmb69 committed Sep 1, 2024
2 parents 8699da6 + 71b9087 commit 4dc7795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ function system_with_timeout(
// and on Windows quotes are discarded, this is a fix to honor the quotes and allow values containing
// spaces like '"C:\Program Files\PHP\php.exe"' to be passed as 1 argument correctly
if (IS_WINDOWS) {
$commandline = 'start "" /b /wait ' . $commandline;
$commandline = 'start "" /b /wait ' . $commandline . ' & exit';
}

$data = '';
Expand Down

0 comments on commit 4dc7795

Please sign in to comment.