Foreman does not terminate child process
baelter opened this issue · comments
Anders Bälter commented
Same issue as #628
Procfile:
worker: ruby test.rb
test.rb
pid = Process.spawn("sleep 100")
Process.detach(pid)
sleep
Steps to repoduce:
$ foreman start
$ kill <foreman-pid>
- Spawned process is still running
Patrik Ragnarsson commented
I think #723 addresses this issue. I rebased that branch against latest master, feel free to try it out: https://github.com/dentarg/foreman/tree/pgroup
Patrik Ragnarsson commented
I forked foreman and merged #780 (#723 but rebased) and released the fork as overman
: https://github.com/spinels/overman, https://rubygems.org/gems/overman, #780 (comment)
Jonathan del Strother commented
@dentarg thanks for overman, I've replaced foreman with it in our dev setup.