Message215178
Using asyncio and the IOCP eventloop it is not necessary to use threads. (Windows may use worker threads for overlapped IO, but that is hidden from Python.) See
https://code.google.com/p/tulip/source/browse/examples/child_process.py
for vaguely "expect-like" interaction with a child python process which works on Windows. It writes commands to stdin, and reads results/tracebacks from stdout/stderr.
Of course, it is also possible to use overlapped IO directly. |
|
Date |
User |
Action |
Args |
2014-03-30 11:28:34 | sbt | set | recipients:
+ sbt, josiahcarlson, astrand, parameter, techtonik, giampaolo.rodola, ajaksu2, ooooooooo, r.david.murray, cvrebert, ericpruitt, Andrew.Boettcher, rosslagerwall |
2014-03-30 11:28:34 | sbt | set | messageid: <1396178914.9.0.518690077362.issue1191964@psf.upfronthosting.co.za> |
2014-03-30 11:28:34 | sbt | link | issue1191964 messages |
2014-03-30 11:28:34 | sbt | create | |
|