Re: debugging os.spawn*() calls

2005-02-03 Thread Donn Cave
In article <[EMAIL PROTECTED]>, Martin Franklin <[EMAIL PROTECTED]> wrote: > Skip Montanaro wrote: > > I have an os.spawnv call that's failing: > > > > pid = os.spawnv(os.P_NOWAIT, "ssh", > > ["ssh", remote, > > "PATH=%(path)s nice -20 make -C %(pwd)s

Re: debugging os.spawn*() calls

2005-01-28 Thread Skip Montanaro
Nick> If using 2.4 the subprocess module is a good solution too. It Nick> lets you catch stdout/stderr easily. Yeah, thought of that already. Currently not an option though. Thx, Skip -- http://mail.python.org/mailman/listinfo/python-list

Re: debugging os.spawn*() calls

2005-01-28 Thread Nick Craig-Wood
Martin Franklin <[EMAIL PROTECTED]> wrote: > Skip Montanaro wrote: > > I have an os.spawnv call that's failing: > > > > pid = os.spawnv(os.P_NOWAIT, "ssh", > > ["ssh", remote, > > "PATH=%(path)s nice -20 make -C %(pwd)s" % locals()]) > > > > When I wa

Re: debugging os.spawn*() calls

2005-01-28 Thread Martin Franklin
Skip Montanaro wrote: I have an os.spawnv call that's failing: pid = os.spawnv(os.P_NOWAIT, "ssh", ["ssh", remote, "PATH=%(path)s nice -20 make -C %(pwd)s" % locals()]) When I wait for it the status returned is 32512, indicating an exit status of 127. U