module InteractiveEditor::Exec::Java

Public Instance Methods

system(file, *args) click to toggle source
# File lib/interactive_editor.rb, line 73
def system(file, *args)
  require 'spoon'
  Process.waitpid(Spoon.spawnp(file, *args))
rescue Errno::ECHILD => e
  raise "error exec'ing #{file}: #{e}"
end