lib/rbbt/util/cmd.rb in rbbt-util-5.23.14 vs lib/rbbt/util/cmd.rb in rbbt-util-5.23.15
- old
+ new
@@ -136,11 +136,11 @@
pids = [pid]
if pipe
err_thread = Thread.new do
while line = serr.gets
- Log.log "STDERRĀ [#{pid}]: " + line, stderr if Integer === stderr and log
+ Log.log "STDERR [#{pid}]: " + line, stderr if Integer === stderr and log
end
serr.close
end
ConcurrentStream.setup sout, :pids => pids, :threads => [in_thread, err_thread].compact, :autojoin => no_wait, :no_fail => no_fail
@@ -181,10 +181,10 @@
io = cmd(*all_args)
pid = io.pids.first
while line = io.gets
if pid
- Log.debug "STDOUTĀ [#{pid}]: " + line
+ Log.debug "STDOUT [#{pid}]: " + line
else
Log.debug "STDOUT: " + line
end
end
io.join