rtomayko / posix-spawn

Ruby process spawning library
Other
520 stars 52 forks source link

ChildTest#test_max_with_stubborn_child hangs on OSX #52

Closed dblock closed 9 years ago

dblock commented 10 years ago

In Child#exec!, you get the expected POSIX::Spawn::MaximumOutputExceeded exception, but then

::Process.kill('TERM', pid) rescue nil

seems to have no effect on OSX, the process still lingers.

dblock commented 10 years ago

An attempt to fix this was in https://github.com/rtomayko/posix-spawn/pull/27, but I am personally not convinced that's the right way to go.

rtomayko commented 9 years ago

Closing as no repro w/ https://github.com/rtomayko/posix-spawn/issues/53. Please reopen if you see the issue.