From df11e6287acfb98cd944c7a4d5f37122aa619873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pipa?= Date: Tue, 13 Mar 2012 18:49:25 +0100 Subject: [PATCH] [FrameworkBundle] Used $output->write() instead of echo --- .../Bundle/FrameworkBundle/Command/ServerRunCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php index be64532a87..2daf5e5f99 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php @@ -94,8 +94,8 @@ EOF $builder->setWorkingDirectory($input->getOption('docroot')); $builder->setTimeout(null); - $process = $builder->getProcess()->run(function ($type, $buffer) { - echo $buffer; + $builder->getProcess()->run(function ($type, $buffer) use ($output) { + $output->write($buffer); }); } }