Message54509
Logged In: YES
user_id=341410
How about if subprocesses have 3 new methods, send(input),
recv(maxlen), and recv_stderr(maxlen).
send(input) would perform like socket.send(), sending as
much as it currently can, returning the number of bytes sent.
recv(maxlen) and recv_stderr(maxlen) would recieve up to the
provided number of bytes from the stdout or stderr pipes
respectively.
I currently have an implementation of the above on Windows
and posix. I include the context diff against revision 1.20
of subprocess.py in current CVS. |
|
Date |
User |
Action |
Args |
2007-08-23 16:10:56 | admin | link | issue1191964 messages |
2007-08-23 16:10:56 | admin | create | |
|