Skip to content

Commit

Permalink
GitRepository: STDERR is redirected to STDOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed Sep 7, 2017
1 parent f2d29f5 commit 43c646c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ protected function run($cmd/*, $options = NULL*/)
{
$args = func_get_args();
$cmd = self::processCommand($args);
exec($cmd, $output, $ret);
exec($cmd . ' 2>&1', $output, $ret);

if($ret !== 0)
{
Expand Down

0 comments on commit 43c646c

Please sign in to comment.