[#89806] [Ruby trunk Bug#15306] Generate prelude.c using miniruby — v.ondruch@...
Issue #15306 has been reported by vo.x (Vit Ondruch).
3 messages
2018/11/15
[ruby-core:89702] Re: [Ruby trunk Feature#15277] at_exec
From:
Eric Wong <normalperson@...>
Date:
2018-11-03 22:49:03 UTC
List:
ruby-core #89702
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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>