Message94858
I don't think so. stdio on OSX has a fdiscard function, but that's not
exposed to Python.
I tend to explicitly synchronize on prompts when communicating with an
interactive program over a pipe. That is, read until you found the prompt,
then send a command, then read again until getting to the prompt, ... |
|
Date |
User |
Action |
Args |
2009-11-03 07:52:42 | ronaldoussoren | set | recipients:
+ ronaldoussoren, pjenvey, ned.deily, petegibson |
2009-11-03 07:52:41 | ronaldoussoren | set | messageid: <1257234761.79.0.89064210408.issue7240@psf.upfronthosting.co.za> |
2009-11-03 07:52:39 | ronaldoussoren | link | issue7240 messages |
2009-11-03 07:52:39 | ronaldoussoren | create | |
|