tee(STDOUT, '>', 'stdout.txt'); tee(STDERR, '>', 'stderr.txt');