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.
In reply to Re: Net::SSH::Expect command returns command itself
by aitap
in thread Net::SSH::Expect command returns command itself
by Sterh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |