# close close STDOUT; # redirect open STDOUT, '>', "/some/path/to/file" or die "Can't redirect STDOUT: +$!";
(see open)
Whether to close or redirect depends on how the child program is using them. Simply closing might not always work.
I'm not using them at least explicitly in the child program.
...but cvs might be. They're 'inherited' across the fork/exec.
In reply to Re^3: Child keeps parent from returning...?
by almut
in thread Child keeps parent from returning...?
by l1ve2love
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |