Re: [python-win32] Spawning processes with os module

2005-10-27 Thread Christian Junker
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

Re: [python-win32] Spawning processes with os module

2005-10-27 Thread Paul Moore
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

[python-win32] Spawning processes with os module

2005-10-27 Thread Christian Junker
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