Certain programs are written to make sure it has a terminal to output to. The program "top" is like that, you will get the same error as yours, unless you use IO::Pty.
In reply to Re: Standard inpute must be tty
by zentara
in thread Standard inpute must be tty
by sameerperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |