File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Component/Process Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -305,14 +305,14 @@ public function wait($callback = null)
305
305
if (null !== $ callback ) {
306
306
$ this ->callback = $ this ->buildCallback ($ callback );
307
307
}
308
-
308
+
309
309
do {
310
310
$ this ->checkTimeout ();
311
311
$ running = defined ('PHP_WINDOWS_VERSION_BUILD ' ) ? $ this ->isRunning () : $ this ->processPipes ->hasOpenHandles ();
312
312
$ close = !defined ('PHP_WINDOWS_VERSION_BUILD ' ) || !$ running ;;
313
313
$ this ->readPipes (true , $ close );
314
314
} while ($ running );
315
-
315
+
316
316
while ($ this ->isRunning ()) {
317
317
usleep (1000 );
318
318
}
@@ -963,7 +963,7 @@ private function readPipes($blocking, $close)
963
963
} else {
964
964
$ result = $ this ->processPipes ->read ($ blocking );
965
965
}
966
-
966
+
967
967
foreach ($ result as $ type => $ data ) {
968
968
if (3 == $ type ) {
969
969
$ this ->fallbackExitcode = (int ) $ data ;
You can’t perform that action at this time.
0 commit comments