|
@@ -96,7 +96,7 @@ discard block |
|
|
block discarded – undo |
|
96
|
96
|
|
|
97
|
97
|
$lines = $this->option('lines'); |
|
98
|
98
|
|
|
99
|
|
- (new Process('tail -f -n '.$lines.' '.escapeshellarg($path)))->setTimeout(null)->run(function ($type, $line) use ($output) { |
|
|
99
|
+ (new Process('tail -f -n '.$lines.' '.escapeshellarg($path)))->setTimeout(null)->run(function($type, $line) use ($output) { |
|
100
|
100
|
$output->write($line); |
|
101
|
101
|
}); |
|
102
|
102
|
} |
|
@@ -158,7 +158,7 @@ discard block |
|
|
block discarded – undo |
|
158
|
158
|
|
|
159
|
159
|
$lines = $this->option('lines'); |
|
160
|
160
|
|
|
161
|
|
- $this->getRemote($connection)->run('tail -f -n '.$lines.' '.escapeshellarg($path), function ($line) use ($out) { |
|
|
161
|
+ $this->getRemote($connection)->run('tail -f -n '.$lines.' '.escapeshellarg($path), function($line) use ($out) { |
|
162
|
162
|
$out->write($line); |
|
163
|
163
|
}); |
|
164
|
164
|
} |
Please login to merge, or discard this patch.