#child print "This is child $$\n"; open STDERR, '>&STDOUT'; open STDOUT, '> /pathlogs/mylog.log'; my $command='sh /path/process.sh'; exec($command);