Re: Interacting with Subprocesses

2016-05-05 Thread eryk sun
On Wed, May 4, 2016 at 4:04 PM, Akira Li <4kir4...@gmail.com> wrote: > > Pass stdin=PIPE, stdout=PIPE and use p.stdin, p.stdout file objects to > write input, read output from the child process. > > Beware, there could be buffering issues or the child process may change > its behavior some other

Re: Interacting with Subprocesses

2016-05-04 Thread Akira Li
Terry Reedy writes: > On 5/4/2016 2:41 PM, Dick Holmes wrote: >> I am attempting to write a Python program that will interact with >> a (non-Python) process. The programs will run under MinGW. The >> process can use stdin/stdout commands and responses and can work >> with

Re: Interacting with Subprocesses

2016-05-04 Thread Terry Reedy
On 5/4/2016 2:41 PM, Dick Holmes wrote: I am attempting to write a Python program that will interact with a (non-Python) process. The programs will run under MinGW. The process can use stdin/stdout commands and responses and can work with pipes. The problem I'm having is that I can't find any

Re: Interacting with Subprocesses

2016-05-04 Thread Akira Li
Dick Holmes writes: > I am attempting to write a Python program that will interact with > a (non-Python) process. The programs will run under MinGW. The > process can use stdin/stdout commands and responses and can work > with pipes. The problem I'm having is that I can't find

Interacting with Subprocesses

2016-05-04 Thread Dick Holmes
I am attempting to write a Python program that will interact with a (non-Python) process. The programs will run under MinGW. The process can use stdin/stdout commands and responses and can work with pipes. The problem I'm having is that I can't find any way in Python to have a continuing dialog