[Bps-public-commit] r10227 - bpsbuilder/BPB/lib/BPB
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Wed Jan 2 16:09:50 EST 2008
Author: sunnavy
Date: Wed Jan 2 16:09:46 2008
New Revision: 10227
Modified:
bpsbuilder/BPB/lib/BPB/Util.pm
Log:
seems IPC::Run3 is better
Modified: bpsbuilder/BPB/lib/BPB/Util.pm
==============================================================================
--- bpsbuilder/BPB/lib/BPB/Util.pm (original)
+++ bpsbuilder/BPB/lib/BPB/Util.pm Wed Jan 2 16:09:46 2008
@@ -3,17 +3,15 @@
use warnings;
use strict;
use Carp;
-use IPC::Run qw//;
+use IPC::Run3;
sub run {
my $class = shift;
my $cmd = shift;
my $ignore_failure = shift;
- my ( $in, $out, $err );
- use Data::Dumper;
- print Dumper $cmd;
- IPC::Run::run( $cmd, \$in, \$out, \$err );
+ my ( $out, $err );
+ run3( $cmd, \undef, \$out, \$err);
if ($?) {
if ($ignore_failure) {
return;
More information about the Bps-public-commit
mailing list