lib/childprocess/jruby/process.rb in childprocess-0.0.4 vs lib/childprocess/jruby/process.rb in childprocess-0.0.5

- old
+ new

@@ -11,14 +11,14 @@ @exit_code = @process.exitValue rescue java.lang.IllegalThreadStateException false end - def stop + def stop(timeout = nil) assert_started @process.destroy - @process.waitFor + @process.waitFor # no way to actually use the timeout here.. @exit_code = @process.exitValue end private