pitluga/subcontractor — Issue #3: subcontract processes not killed on ctrl+c
Author: masterkain
Created: 2011-12-30 01:21:53+00:00
State: open

Hello,
I'm using the Slanger gem which spawns a thin process.

push: subcontract --rvm ruby-1.9.3-p0@push --chdir ../push --signal INT -- bundle exec slanger --app_key xxx --secret xxx

However when I hit CTRL+C all the processes quits but this one. I also tried to send the default TERM or leaving out the parameter, but it makes no difference.

I haven't checked the code yet but it appears foreman is killing subcontract while leaving the subprocess alive.