REPOST: Re: pty.spawn() and friends

Michael Hudson mwh at
Sat Dec 29 20:16:59 CET 2001

"James T. Dennis" <jadestar at> 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.


========= WAS CANCELLED BY =======:
From: Michael Hudson <mwh at>
Newsgroups: comp.lang.python
Subject: cmsg cancel <lkk7v5q1jp.fsf at>
Control: cancel <lkk7v5q1jp.fsf at>
Date: Mon, 31 Dec 2001 01:39:47 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.lkk7v5q1jp.fsf at>
X-Trace: 1009774615 27193 (31 Dec 2001 04:56:55 GMT)
X-Complaints-To: usenet at
NNTP-Posting-Date: Mon, 31 Dec 2001 04:56:55 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.

More information about the Python-list mailing list