From: Eric Wong Date: 2018-11-03T22:49:03+00:00 Subject: [ruby-core:89702] Re: [Ruby trunk Feature#15277] at_exec ruby-core@marc-andre.ca wrote: > normalperson (Eric Wong) wrote: > > Would this work for subprocesses? (system, spawn, ``, > > popen, ...) > > I'm not sure I understand the question. `exec` effectively > terminates the Ruby process although the `at_exit` callbacks > are not called. `system`, `spawn`, etc... don't do such a > thing and would thus would not call the `at_exec` callbacks. system, spawn, etc. implicitly call exec, but only after fork/vfork in a child. Anyways, I'm still against this proposal because there is an existing and generic way to support such behavior. Unsubscribe: