pty.spawn() and friends
Michael Hudson
mwh at python.net
Sat Dec 29 14:16:59 EST 2001
"James T. Dennis" <jadestar at idiom.com> writes:
> So naturally I tried to implement the simplext expect script
> (autopasswd) as a Python script using the pty.spawn() function.
Dunno what that does, but I've been able to do things using os.forkpty
directly, and not going near the pty module. This makes your code
less portable, but at least I could get it to work.
Cheers,
M.
More information about the Python-list
mailing list