To do that. Or you can do this:$expect_prog->log_file("/dev/null");
--traveleropen SAVEOUT, ">&STDOUT"; open STDOUT, ">/dev/null"; # expect stuff here close STDOUT; open STDOUT, ">&SAVEOUT"; # normal talking to STDOUT here
In reply to Re: Quick Redirection Question
by traveler
in thread Quick Redirection Question
by kendroid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |