This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B20.1: expect: spawn -open doesn't work


>>>>> "Brian" == Brian Petry <bpetry@priacc.com> writes:

    Brian> Hello,

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

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

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

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

    Brian> Does anyone have a patch for this problem?

I recompiled tcl from the Cygwin distribution as a X11 app by
undefining __WIN32__

I get:

expect1.1> spawn -open [open /dev/com1]
spawn [open ...]
0
expect1.2> 


Ciao
  Volker


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]