Permalink
Browse files

updated Process

  • Loading branch information...
1 parent 52e8905 commit 64704024264eeb5e3296651a9157d45458b734be @kriswallsmith kriswallsmith committed with Jul 8, 2011
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/Assetic/Util/Process.php
View
9 src/Assetic/Util/Process.php
@@ -119,14 +119,7 @@ public function run($callback = null)
}
};
- // Workaround for http://bugs.php.net/bug.php?id=51800
- if (strstr(PHP_OS, 'WIN')) {
- $stderrPipeMode = 'a';
- } else {
- $stderrPipeMode = 'w';
- }
-
- $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', $stderrPipeMode));
+ $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w'));
$process = proc_open($this->commandline, $descriptors, $pipes, $this->cwd, $this->env, $this->options);

0 comments on commit 6470402

Please sign in to comment.