1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.3'

* PHP-8.3:
  Fix run-tests.php to propagate status code on Windows
This commit is contained in:
Christoph M. Becker
2024-09-02 00:53:02 +02:00

View File

@@ -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 = '';