Methods

Files

Launchy::Detect::Runner::Forkable

Public Instance Methods

wet_run( cmd, *args ) click to toggle source
# File lib/launchy/detect/runner.rb, line 116
def wet_run( cmd, *args )
  child_pid = fork do
    close_file_descriptors unless Launchy.debug?
    Launchy.log("wet_run: before exec in child process")
    exec( *shell_commands( cmd, *args ))
    exit!
  end
  Process.detach( child_pid )
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.