<i>Expect eof occurring before end of output from spawned process</i> status still Closed with 5 other changes
by
.
D 2013-08-22T15:51:23.684
J closedate 2456527.16069079
J closer tld
J icomment I\shate\sto\ssay\sit,\sbut\swhile\sI\sclearly\shad\sissues\swith\swhat\sI\swas\sdoing\sin\sexpect,\seven\swith\sthat\scorrected\sthere\sstill\sappear\scases,\sthough\srare\sand\sdifficult\sto\sreproduce,\swhere\sexpect\sis\sgetting\spremature\sEOFs\ssomehow,\sat\sleast\swhen\srunning\scommands\svia\sssh.\r\n\r\nI've\stried\severything\sI\scan\sfor\shours\son\send\sto\sreproduce\sany\ssuch\sEOFs\srunning\scommands\svia\sssh\soutside\sof\sexpect\sand\ssimply\scan't\sdo\sit.\s\sIt's\srare\seven\swithin\sexpect,\sbut\sdoes\soccasionally\soccur\s(with\sthe\sexact\ssame\scode\sand\scommand\sthat\smay\ssucceed\smost\sof\sthe\stime),\sand\swhen\sit\sdoes\sit's\sWAY\smore\ssignificant\sthan\sloosing,\sfor\sexample,\san\sexpect\sbuffer...often\sloosing\sa\sfull\sthird\sof\san\sxml\sfile\sfor\sexample.\r\n\r\nLike\sI\ssaid,\sso\sfar\sat\sleast,\sI've\sonly\sseen\sthis\swith\sssh,\sfor\sexample,\swhen\sspawning\ssomething\slike:\r\n\r\nspawn\s-noecho\sssh\suser@host\s"cat\s/some/file/path"\r\n\r\nI\sknow\sthat's\snot\smuch\sto\sgo\son,\sbut\sthere\sclearly\sseems\sto\sbe\ssomething\sgoing\son\sthere.
J login tld
J mimetype text/plain
K 30c5d37cfa0028c9ef83fa9efc490f4bc28b64ff
U tld
Z 69bd3e6d3643bb971df60bdb11a9b862