File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,22 @@ public function handle()
23
23
];
24
24
25
25
while (count ($ processes )) {
26
+ /* @var \Symfony\Component\Process\Process $process */
26
27
foreach ($ processes as $ i => $ process ) {
27
28
if (!$ process ->isStarted ()) {
28
29
$ process ->setTimeout (null );
29
30
$ process ->start ();
30
31
continue ;
31
32
}
32
- if (($ info = trim ($ process ->getIncrementalOutput ())) && $ info ) {
33
+
34
+ if ($ info = trim ($ process ->getIncrementalOutput ())) {
33
35
$ this ->info ($ info );
34
36
}
35
- if (($ error = trim ($ process ->getIncrementalErrorOutput ())) && $ error ) {
36
- $ this ->error ($ error );
37
+
38
+ if ($ error = trim ($ process ->getIncrementalErrorOutput ())) {
39
+ $ this ->line ($ error );
37
40
}
41
+
38
42
if (!$ process ->isRunning ()) {
39
43
unset($ processes [$ i ]);
40
44
}
You can’t perform that action at this time.
0 commit comments