sending to an xterm
Emile van Sebille
emile at fenx.com
Fri Aug 8 22:55:29 CEST 2008
Kent Tenney wrote:
> I want to open an xterm, send it a command and have it execute it.
> I thought pexpect would do this, but I've been unsuccessful.
> term = pexpect.spawn('xterm')
> starts an xterm, but
> doesn't seem to do anything.
expect or http://www.noah.org/wiki/Pexpect
More information about the Python-list