How to execute an external binary reading from standard in
Donn Cave
donn at u.washington.edu
Tue Jul 30 13:18:21 EDT 2002
Quoth Markus O Kaukonen <markus.kaukonen at iki.fi>:
| I tried
| os.popen('/home/mok/my_prog.bin < my_input.txt ')
| with no success
That works for me. A couple of followups have suggested other
things that also should work, but since we don't know what went
wrong here, it's hard to say why any of those will work better.
If none of them actually works for you, or if you actually want to
understand what's going wrong, a simple example program would help
explain what you expected, and what actually happened.
Donn Cave, donn at u.washington.edu
More information about the Python-list
mailing list