Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 75af30cd834a93195cbeed70173287c75a99dfd0
Ticket: 30c5d37cfa0028c9ef83fa9efc490f4bc28b64ff
Expect eof occurring before end of output from spawned process
User & Date: tld on 2013-08-12 15:36:33
Changes

  1. icomment:
    The closest thing I can think of to an expect-free test would be to simply use open to open a pipe to "cat filename", and to read from it, and output that data until eof.  Nothing like that, even with some pattern matching added to more closely resemble the other test, seems to loose any data.
    
    I'd imagine that any test like that doesn't resemble what's going on in expect too much, especially since expect is creating a tty and getting output from that etc.  It does seem very unlikely that the Tcl implementation of EOF is in any way broken.  If this is in fact an issue with expect, is that maintained somewhere other than here?
    
    I'll be glad to do anything I can to help with this one, as it's a pretty significant issue for me.  That would even include debugging if need be.  I am a c programmer, though I've been away from that for some time.
    
  2. login: "tld"
  3. mimetype: "text/plain"