Hi all, I'm the one sort of reponsible for asking for return codes in apr_proc_wait (and thanks for how quickly they were added), but now I am concerned about their portability.
My MSDN page for GetExitCodeProcess says it retrurns either STILL_ACTIVE or the return code for the process. Meanwhile my linux waitpid man page says that the status code must be acessed using WIFEXITED, WEXITSTATUS, etc macros. Perhaps we also need some APR_PROC_STATUS macros? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kevin Pilch-Bisson http://www.pilch-bisson.net "Historically speaking, the presences of wheels in Unix has never precluded their reinvention." - Larry Wall ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgpeU3Bc0Kuus.pgp
Description: PGP signature