lib/rbbt/util/cmd.rb in rbbt-util-5.13.33 vs lib/rbbt/util/cmd.rb in rbbt-util-5.13.34

- old
+ new

@@ -184,9 +184,10 @@ break if block.nil? or block.empty? sin.write block end sin.close unless sin.closed? + in_content.join if in_content.respond_to? :join and not dont_close_in in_content.close unless in_content.closed? or dont_close_in rescue Process.kill "INT", pid raise $! end