There was no error message. So solution was to add "\r" at the end of command
In reply to Re^3: Net::SSH::Expect command returns command itself
by Sterh
in thread Net::SSH::Expect command returns command itself
by Sterh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |