[padb-devel] [padb] r196 committed - Redirect the output of slurped commands to /dev/null
codesite-noreply at google.com
codesite-noreply at google.com
Sun Sep 6 22:30:46 BST 2009
Revision: 196
Author: apittman
Date: Sun Sep 6 14:30:15 2009
Log: Redirect the output of slurped commands to /dev/null
http://code.google.com/p/padb/source/detail?r=196
Modified:
/branches/cleanup/src/padb
=======================================
--- /branches/cleanup/src/padb Sun Sep 6 14:12:24 2009
+++ /branches/cleanup/src/padb Sun Sep 6 14:30:15 2009
@@ -633,7 +633,7 @@
sub slurp_cmd {
my ($cmd) = @_;
- open( my $CFD, '-|', $cmd ) or return;
+ open( my $CFD, '-|', "$cmd 2>/dev/null" ) or return;
my @out = <$CFD>;
close $CFD;
return @out;
More information about the padb-devel
mailing list