REPOST: Re: pty.spawn() and friends

Michael Hudson mwh at python.net
Sat Dec 29 20:16:59 CET 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.

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-nwblwi.newsops.execpc.com!newsfeeds.sol.net!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!news-out.nuthinbutnews.com!propagator2-austin!propagator!feed2.newsfeeds.com!newsfeeds.com!news-xfer.nuri.net!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: Michael Hudson <mwh at python.net>
Newsgroups: comp.lang.python
Subject: cmsg cancel <lkk7v5q1jp.fsf at elios.maths.bris.ac.uk>
Control: cancel <lkk7v5q1jp.fsf at elios.maths.bris.ac.uk>
Date: Mon, 31 Dec 2001 01:39:47 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.lkk7v5q1jp.fsf at elios.maths.bris.ac.uk>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009774615 27193 211.57.49.2 (31 Dec 2001 04:56:55 GMT)
X-Complaints-To: usenet at news2.kornet.net
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