Secondly, maybe the waitfor is eating the first ps echo. castaway points out in the CB that cmd eats the echo, but print does not, so you should expect the echo, not be surprised by it.
Finally, if you use a Perl regex in your script to remove the ps command, then it will also remove the ps echo.
In reply to Re: Strange behaviour - Net::Telnet
by PhilHibbs
in thread Strange behaviour - Net::Telnet
by TeraMarv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |