[python-win32] pipes and processes

Mark Hammond mhammond@skippinet.com.au
Thu, 12 Dec 2002 19:14:41 +1100


Check out the c++ sources to win32pipe/posixmodule for popen/popen2/3/4 etc.
These show how to do that.  It can be directly translated to Python, but I
know of no one who has done so and made it public.

A great place to start would be a .py implementation of popen(), a-la these
sources, then send them to me, and I will include them in win32all as a
demo!

Mark.

> -----Original Message-----
> From: python-win32-admin@python.org
> [mailto:python-win32-admin@python.org]On Behalf Of Jim Vickroy
> Sent: Thursday, 12 December 2002 8:49 AM
> To: python-win32@python.org
> Subject: [python-win32] pipes and processes
>
>
> Howdy,
>
> I'm using a process to create a few (~5) processes via
> win32process.CreateProcess().
>
> I would like to have the parent process create a unique pipe for each
> child process.
>
> Is this a reasonable use of "anonymous" pipes?
>
> How do I pass the pipe (read, write) handles to a child process?
>
> Thanks,
>
> -- jv
>
>
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32