|
@@ -92,9 +92,9 @@ |
|
|
block discarded – undo |
|
92
|
92
|
protected function runCommand($command, $playerLogin, SymfonyStyle $sfs) |
|
93
|
93
|
{ |
|
94
|
94
|
$process = new Process($command); |
|
95
|
|
- $process->setWorkingDirectory($this->getContainer()->getParameter('kernel.root_dir') . '/..'); |
|
|
95
|
+ $process->setWorkingDirectory($this->getContainer()->getParameter('kernel.root_dir').'/..'); |
|
96
|
96
|
|
|
97
|
|
- $process->run(function ($type, $buffer) use ($playerLogin, $sfs) { |
|
|
97
|
+ $process->run(function($type, $buffer) use ($playerLogin, $sfs) { |
|
98
|
98
|
$this->notifyPlayer($type, $buffer, $playerLogin); |
|
99
|
99
|
$sfs->writeln($buffer); |
|
100
|
100
|
}); |
Please login to merge, or discard this patch.