Running External Programs from Within Python
usenet at mail-2-me.com
Sat Jan 31 23:56:25 CET 2004
> Hi Dirk,
>> That is very easy: popen()
>> Check the FAQ and documentation again for popen.
> That reminds me, I was asked if you can open a bi-directional pipe to
> control an external console program on Windows. A guy has compiled
> FORTRAN (~4,000 lines of 1980's spaghetti) and wants to add a modern GUI
> and a front end method to check data.
> Can you both send commands to, and read STDOUT from, a remote console app?
I'm not sure if I got the point, but, for example, with popen I can ping
from the console a computer and read the result.
But sending commands to a remote console is a problem which troubles
myself in another context (I asked here yesterday).
More information about the Python-list