Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本的な非同期ジョブを実行したい
exec('curl -0 '+url)
シナトラアプリから、
私は fork と detach でそれをやろうとしましたが、それは偽物のようです。
(私は窓を使っています)
Github の Blake Mizerany からのサンプル アプリケーション: sinatra -djがあり、DelayedJob をキューイング メカニズムとして使用しています。
試してみるのはどうですか:
exec('curl -0'+url) if fork == nil
古い質問ですが...
スポークを使う