I want to run a basic asynchronous job
exec('curl -0 '+url)
from sinatra app,
I tried to do it with a fork and detach, but it seems to be bogus.
(I'm on the windows)
and a sample app from Blake Mizerany on Github: sinatra-dj using DelayedJob as quering engine.
How about trying:
exec('curl -0'+url) if fork == nil
Old question, but ...
Use Spork