Method: Voodoo::AppEngine#call_executable
- Defined in:
- lib/voodoo/peopletools/appengine.rb
#call_executable ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/voodoo/peopletools/appengine.rb', line 23 def call_executable LOG.debug("Executable is set to #{@executable}") LOG.debug("Command line options are set to #{@command_line_options.join(" ")}") #f = IO.popen(@executable + " " + @command_line_options.join(" ")) #f.readlines.each { |line| puts ("#{line.chomp}")} #f.close pid = spawn("start " + @executable + " " + .join(" ")) LOG.debug("Created background process #{pid} for #{@executable}") Process.detach(pid) .clear set_base_parameters end |