|
@@ -54,7 +54,7 @@ discard block |
|
|
block discarded – undo |
|
54
|
54
|
while (true) { |
|
55
|
55
|
usleep(100 * 1000); |
|
56
|
56
|
|
|
57
|
|
- if (intval(Date::now()->getSecond()) === 0 && ! Date::now()->startOfMinute()->equalTo($lastExecutionStartedAt)) { |
|
|
57
|
+ if (intval(Date::now()->getSecond()) === 0 && !Date::now()->startOfMinute()->equalTo($lastExecutionStartedAt)) { |
|
58
|
58
|
$executions[] = $execution = Process::fromShellCommandline($command); |
|
59
|
59
|
|
|
60
|
60
|
$execution->start(); |
|
@@ -63,11 +63,11 @@ discard block |
|
|
block discarded – undo |
|
63
|
63
|
} |
|
64
|
64
|
|
|
65
|
65
|
foreach ($executions as $key => $execution) { |
|
66
|
|
- $output = $execution->getIncrementalOutput(). $execution->getIncrementalErrorOutput(); |
|
|
66
|
+ $output = $execution->getIncrementalOutput() . $execution->getIncrementalErrorOutput(); |
|
67
|
67
|
|
|
68
|
68
|
$this->write(ltrim($output, "\n"))->eol(); |
|
69
|
69
|
|
|
70
|
|
- if (! $execution->isRunning()) { |
|
|
70
|
+ if (!$execution->isRunning()) { |
|
71
|
71
|
unset($executions[$key]); |
|
72
|
72
|
} |
|
73
|
73
|
} |
Please login to merge, or discard this patch.