How to send a var to stdin of an external software
Bryan Olson
fakeaddress at nowhere.org
Thu Mar 13 12:50:16 EDT 2008
I wrote:
> [...] Pipe loops are tricky business.
>
> Popular solutions are to make either the input or output stream
> a disk file, or to create another thread (or process) to be an
> active reader or writer.
Or asynchronous I/O. On Unix-like systems, you can select() on
the underlying file descriptors. (MS-Windows async mechanisms are
not as well exposed by the Python standard library.)
--
--Bryan
More information about the Python-list
mailing list