in reply to Net::SSH::Expect command returns command itself
boolean waitfor($pattern [,$timeout])This can be the error cause: waitfor removes all the text until the prompt, including the command output. No ideas how to work it out, though.# boolean waitfor ($string [, $timeout, $match_type]) # This method reads until a pattern or string is found in +the input stream. # All the characters before and including the match are re +moved from the input stream.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SSH::Expect command returns command itself
by fanasy (Sexton) on Sep 08, 2012 at 09:16 UTC | |
by Sterh (Novice) on Oct 10, 2012 at 01:29 UTC |