How can I get the command prompt back and control back to the perl script?
What's wrong with using close?
# ... $t->cmd('reboot'); $t->close();
Update: D'oh! You're saying that your script hangs on cmd... The first time I read it I thought you were trying to connect immediately after the cmd.
In reply to Re: Reboot: System call
by Mr. Muskrat
in thread Reboot: System call
by PerlMe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |