On Dec 24, 4:00 pm, chad <cdal...@gmail.com> wrote: > 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?
Never mind. I figured it out. -- http://mail.python.org/mailman/listinfo/python-list