Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Hide program output from terminal

by haoess (Curate)
on Sep 15, 2006 at 08:03 UTC ( #573065=note: print w/ replies, xml ) Need Help??


in reply to Hide program output from terminal

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


Comment on Re: Hide program output from terminal
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://573065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2015-07-06 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls