select() vs. pipes (was [Python-Dev] Re: PEP 324 (process module)) (original) (raw)
Peter Astrand astrand at lysator.liu.se
Thu Aug 5 20:30:03 CEST 2004
- Previous message: select() vs. pipes (was [Python-Dev] Re: PEP 324 (process module))
- Next message: [Python-Dev] Re: PEP 324 (process module)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In popen5, "communicate" is terminal. It calls select until there's no more data to get back and then unconditionally waits for the subprocess to finish, blocking the entire time. This isn't useful for the type of
Yes, I agree. Other people has request this as well.
But, even though this could be useful, I do not consider it a showstopper which needs to be solved before the module can be included in the stdlib. Windows support without need for win32all is a more major issue, I think.
A non-terminal "communicate" can be added later.
/Peter Åstrand <astrand at lysator.liu.se>
- Previous message: select() vs. pipes (was [Python-Dev] Re: PEP 324 (process module))
- Next message: [Python-Dev] Re: PEP 324 (process module)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]