Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> >For jobs which require interactivity ie send input, receive output,
> >send input, receive output, ... it doesn't work well. There isn't a
> >good cross platform solution for this yet. pyexpect works well under
> >unix and is hopefully being porte
On Fri, 02 May 2008 06:30:03 -0500, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
Brendan Miller <[EMAIL PROTECTED]> wrote:
On Fri, 02 May 2008 13:25:55 +1000, Ben Finney wrote:
> URL:http://docs.python.org/lib/module-subprocess.html
Awesome. This is exactly what I was hoping existed.
subproc
Brendan Miller <[EMAIL PROTECTED]> wrote:
> On Fri, 02 May 2008 13:25:55 +1000, Ben Finney wrote:
>
> > URL:http://docs.python.org/lib/module-subprocess.html
>
> Awesome. This is exactly what I was hoping existed.
subprocess works well for spawn process, send input, receive output,
read exit c
On Fri, 02 May 2008 13:25:55 +1000, Ben Finney wrote:
> URL:http://docs.python.org/lib/module-subprocess.html
Awesome. This is exactly what I was hoping existed.
--
http://mail.python.org/mailman/listinfo/python-list
Brendan Miller <[EMAIL PROTECTED]> writes:
> Is there an actual portable means of asynchronously spawning a
> process and getting a handle to it, being able to write stdin and
> read stdout, or does everyone just write their own wrapper for fork
> and spawn?
You're looking for the 'subprocess' mo
I want to spawn a child process based on an external executable that I have
the path for. I then want to wait on that executable, and capture it's
output.
In the os module, fork is only supported on unix, but spawn is only
supported on windows.
The os.system call is implemented by calling the C s