Now when I capture everything through print then it works fine...but as soon as I try to use logging it fails. Please advise. Thanksuse Log::Log4perl qw(); Log::Log4perl->init("process.conf"); my $log = Log::Log4perl->get_logger(); open APP, "Exception.bat |" or die "File not found\n"; while(<APP>){ print; #log->info; } close APP; print "Out of batch file\n";
In reply to Running an application and capturing output by Nesh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |