popen3 child_stdin
ddoc
news at 92tr.freeserve.co.uk
Tue Jun 17 08:12:27 EDT 2003
It was brainfade.
The function returns a tuple, of course.
It works, and solves one Linux task I had been contemplating for a while,
but doesn't of itself accomplish a job I want to do in Windows
I should be able to automate a DOS program - or rather seize its interface
and control what goes in as from a keyboard, and catch what comes out as if
to the screen, thus programattically determining what gets typed to it and
what gets shown to a notional user, but I suspect I need to use pipes
rather than the popen setup.
Does anyone know an example of this being done (to a DOS/console program)
that is available for inspection?
--
A
More information about the Python-list
mailing list