Overview
| Artifact ID: | 5024c35b59fce0b4cb9db9c11f5c70c5b297f67c |
|---|---|
| Ticket: | 30c5d37cfa0028c9ef83fa9efc490f4bc28b64ff
Expect eof occurring before end of output from spawned process |
| User & Date: | anonymous on 2013-08-13 18:58:31 |
Changes
- icomment:
I'd suggest to read through Expect's man page (again), e.g. at http://docs.activestate.com/activetcl/8.5/expect/expect.1.html Where it explains the expect command it says that Expect discards any unmatched buffer, once it grows beyond match_max (default 2000 bytes). This might be the case here. Do as suggested there and add a full_buffer to your patlist and puts $expect_out(buffer) in its body. That might be enough already. Or you have to dump the buffer one more time in the eof body. Just suggestions that come from my fainting memory ... -- makr
- login: "anonymous"
- mimetype: "text/plain"