Given the following... #!/usr/bin/python
import pexpect
p = pexpect.spawn('cat')
p.sendline('1234')
p.expect (['1234'])
p.expect (['1234'])
I no output when I run it...
[cdal...@localhost oakland]$ ./ecat.py
[cdal...@localhost oakland]$
I don't get it. I was expecting to see the output from both the tty
and cat. Instead, I see nothing. Why?
--
http://mail.python.org/mailman/listinfo/python-list
