John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
Meanwhile, the documentation for wait states, “...returns the pid of the deceased process, or -1 if there are no child processes.”
So, is the return result from system the same as the value of $?, or something different?
If the number given in exit of the child process is found by shifting right by 8, what interesting thing is in the low bits?
How’s that work on Windows systems? The documentation is written with a Unix-centric point of view, with the assumption that system is written in terms of exec instead of vice-versa.
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: return result from system ?
by iburrell (Chaplain) on Sep 04, 2003 at 19:05 UTC | |
|
Re: return result from system ?
by sauoq (Abbot) on Sep 04, 2003 at 20:44 UTC |