Re: fork with exit [some integer] seems to not change exitstatus in Process.wait2, ruby 2.2.4
Marvin Gülker <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <20190107114059.nejqfwqfxw2l6cy3@atlantis> |
Am 06. Januar 2019 um 16:42 Uhr -0800 schrieb Kelly Felkins: > I'm attempting to retrieve the exit status of child processes. So far, no > matter how the child process exists, wait2 status only has a 1 for > exitstatus. Try this outside IRB as a standalone script. Eric is most likely right that it's an IRB-specific problem you're running into. -- Blog: https://mg.guelker.eu PGP/GPG ID: F1D8799FBCC8BC4F Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>