See perldoc -f open for playing with STDOUT and its friends.
# save STDOUT open my $stdout, '>&STDOUT'; # close it open STDOUT, '>', undef; # don't display system's STDOUT (but it's STDERR!) system '...'; # reopen STDOUT open STDOUT, '>&', $stdout;
--Frank
In reply to Re: Hide program output from terminal
by haoess
in thread Hide program output from terminal
by Milamber
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |