diff --git a/src/JonnyW/PhantomJs/Procedure/Procedure.php b/src/JonnyW/PhantomJs/Procedure/Procedure.php index 633312f2..3f98070f 100644 --- a/src/JonnyW/PhantomJs/Procedure/Procedure.php +++ b/src/JonnyW/PhantomJs/Procedure/Procedure.php @@ -101,7 +101,7 @@ public function run(InputInterface $input, OutputInterface $output) $descriptorspec = array( array('pipe', 'r'), array('pipe', 'w'), - array('pipe', 'w') + array('pipe', 'a') ); $process = proc_open(escapeshellcmd(sprintf('%s %s', $this->engine->getCommand(), $executable)), $descriptorspec, $pipes, null, null);