in reply to Is there anyway to redirect the output of exec?

exec transfers control to the system utility you call. The 'parent' is metamorphosed: it does not bear young. You can see that with:

$ perl -e'print $$, $/; exec "perl", "-e", "print $$;"' 20540 20540$
You can redirect output by opening *STDOUT to what you want before exec.

After Compline,
Zaxo