Hi John,
2005/10/27, John Machin <[EMAIL PROTECTED]>:
> Would it be possible for us to behold the code that you are using?
sure:
p = os.spawnv(os.P_NOWAIT, sOffice, cmdArray)
exit_status = os.waitpid(p, os.WNOHANG)[1]
if exit_status != 0:
raise BootstrapException("Could not start %s." % (sOf
On 10/27/05, Christian Junker <[EMAIL PROTECTED]> wrote:
> I am having difficulty spawning processes with the os.P_NOWAIT and the
> waitpid function in the os module. What I simply want to do is to
> launch another process along with immediately getting its exit status
> in a cross-platform support
Hi people,
I am having difficulty spawning processes with the os.P_NOWAIT and the
waitpid function in the os module. What I simply want to do is to
launch another process along with immediately getting its exit status
in a cross-platform supported way. However the exit status is actually
shifted 8