Overview
| Artifact ID: | 1493bb45a50f0f54040ec270e552ffbf9667f7d2 |
|---|---|
| Ticket: | 30c5d37cfa0028c9ef83fa9efc490f4bc28b64ff
Expect eof occurring before end of output from spawned process |
| User & Date: | tld on 2013-08-22 15:51:23 |
Changes
- closedate changed to: "2456527.16069079"
- closer changed to: "tld"
- icomment:
I hate to say it, but while I clearly had issues with what I was doing in expect, even with that corrected there still appear cases, though rare and difficult to reproduce, where expect is getting premature EOFs somehow, at least when running commands via ssh. I've tried everything I can for hours on end to reproduce any such EOFs running commands via ssh outside of expect and simply can't do it. It's rare even within expect, but does occasionally occur (with the exact same code and command that may succeed most of the time), and when it does it's WAY more significant than loosing, for example, an expect buffer...often loosing a full third of an xml file for example. Like I said, so far at least, I've only seen this with ssh, for example, when spawning something like: spawn -noecho ssh user@host "cat /some/file/path" I know that's not much to go on, but there clearly seems to be something going on there.
- login: "tld"
- mimetype: "text/plain"