lib/rbbt/util/cmd.rb in rbbt-util-5.25.45 vs lib/rbbt/util/cmd.rb in rbbt-util-5.25.46
- old
+ new
@@ -137,10 +137,10 @@
io = cmd(*all_args)
pid = io.pids.first
while c = io.getc
- STDERR << c
+ STDERR << c if Log.severity == 0
if c == "\n"
if pid
Log.logn "STDOUT [#{pid}]: ", 0
else
Log.logn "STDOUT: ", 0