lib/jstdutil.rb in jstdutil-0.3.6 vs lib/jstdutil.rb in jstdutil-0.3.7
- old
+ new
@@ -30,10 +30,12 @@
#
# Run the jar through the java command
#
def self.run(args, jar)
begin
- `java -jar #{jar} #{args}`
+ res = `java -jar #{jar} #{args}`
+ $exit_status = $?
+ return res
rescue Exception => err
end
end
end