G
goodieboy
Hi,
I've got a script that was working great on OS X and now not working
on Fedora Core 6. Both are running Ruby 1.8.6 and the latest Rails.
The application is a Rails app that uses fork and the Process.detach.
On OS X, the process gets detached and all is well, but on Fedora I
the parent process hangs and waits for the child to finish.
I need to fork some code, and make sure it's detached from the parent
so there is no waiting. What's the best way to do this?
Matt
I've got a script that was working great on OS X and now not working
on Fedora Core 6. Both are running Ruby 1.8.6 and the latest Rails.
The application is a Rails app that uses fork and the Process.detach.
On OS X, the process gets detached and all is well, but on Fedora I
the parent process hangs and waits for the child to finish.
I need to fork some code, and make sure it's detached from the parent
so there is no waiting. What's the best way to do this?
Matt