Expect spawn -open problem under Cygwin (success)

Steve Landers steve@digital-smarties.com
Thu Nov 2 22:08:00 GMT 2000

On Thu, 02 Nov 2000 20:37:42 +0800 I waffled ...

> I've found a problem when attempting to use expect under cygwin and was
> wondering if it was a known problem or if there is a work around.
> The following spawn (expect) command returns "fdopen: bad file number"
>    set cmd {c:/cygwin/bin/expect.exe script.tcl}
>    spawn -noecho -open [open "|$cmd" r+]
> If I get nowhere I'll try a port of the latest Expect +
> Tcl/Tk 8.3.1 using cygwin and see how I go, but I'd like to
> avoid this at the moment if I can.

I ended up building Tcl/Tk 8.3.1 + Expect 5.31 under Cygwin 1.1.4 and the
problem no longer occurs.


Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list