Return to Snippet

Revision: 18355
at September 29, 2009 03:45 by wearetherock


Initial Code
import pexpect
password = open("config/qlive.auth", "r").readline().strip()
p = pexpect.spawn("sudo bash install_dynamicctrl.sh")
i = p.expect([".ssword:*", pexpect.EOF])
p.sendline(password)

Initial URL

                                

Initial Description

                                

Initial Title
Pexpect Example

Initial Tags

                                

Initial Language
Python