Re: forking processes and writing to log file

Gennady B. wrote:

exec “the_command_line_used_to_be_launched_by_system”

Process.waitpid pid

Process.setsess should be Process.setsid. Sorry for confusion, clicked
on ‘Send’ too soon ;-).

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs