S
Samuel Kvarnbrink
Hi,
Does anyone here have an example on how to create a Ruby daemon that
runs as a session leader (without a controlling terminal)? I've tried
to accomplish that using fork and Process.setpgrp, but the only results
so far have been zombie processes or processes that exit when I close
the terminal. I'm quite new to Ruby so I guess that I've missed some
little detail somewhere...
cheers,
//samuel kvarnbrink
Does anyone here have an example on how to create a Ruby daemon that
runs as a session leader (without a controlling terminal)? I've tried
to accomplish that using fork and Process.setpgrp, but the only results
so far have been zombie processes or processes that exit when I close
the terminal. I'm quite new to Ruby so I guess that I've missed some
little detail somewhere...
cheers,
//samuel kvarnbrink