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
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
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
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