delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/21/14:03:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Brian Petry <bpetry AT priacc DOT com>
Message-Id: <199907211801.LAA15247@aztec.eng.priacc.com>
Subject: B20.1: expect: spawn -open doesn't work
To: cygwin AT sourceware DOT cygnus DOT com
Date: Wed, 21 Jul 1999 11:01:28 -0700 (PDT)
X-Mailer: ELM [version 2.4 PL24]

Hello,

It looks like "spawn -open" doesn't work.

This can be easily recreated by running the spawn test script in source 
distribution.

The error text reported by expect (or tcl) is "bad file number".

I'm trying use something like "spawn -open [open /dev/com1]".

Does anyone have a patch for this problem?

It looks like expect-for-NT found at expect.nist.gov works:
	"spawn -open [open COM1:]"

-Brian


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019