lib/rbbt/util/cmd.rb in rbbt-util-5.23.7 vs lib/rbbt/util/cmd.rb in rbbt-util-5.23.8
- old
+ new
@@ -114,13 +114,19 @@
unless dont_close_in
in_content.close unless in_content.closed?
in_content.join if in_content.respond_to? :join
end
rescue
- parent.raise $!
- Process.kill "INT", pid
- ensure
- sin.close unless sin.closed?
+ Log.exception $!
+ raise $!
+ # begin
+ # Process.kill "INT", pid
+ # #parent.raise $!
+ # ensure
+ # raise $!
+ # end
+ #ensure
+ # #sin.close unless sin.closed?
end
end
else
in_thread = nil
sin.close