From: Andrew DeFaria Date: Tue, 28 Jul 2015 19:02:30 +0000 (-0700) Subject: Fixed bug in open call X-Git-Url: https://defaria.com/gitweb/?a=commitdiff_plain;h=28dfba1520d8867b3e5ba816d3c91bcc270804da;p=clearscm.git Fixed bug in open call --- diff --git a/lib/Logger.pm b/lib/Logger.pm index 4d31d3e..f57b6ef 100644 --- a/lib/Logger.pm +++ b/lib/Logger.pm @@ -685,7 +685,7 @@ Returns: display "\$ $cmd", $self->{handle} if get_debug; - my $status = open my $output, '|', "$cmd 2>&1"; + my $status = open my $output, '-|', "$cmd 2>&1"; if (!$status) { $self->{error}++;