I run a Perl program that runs a DOS program (by a system command). The perl program and the DOS program write to the same log file. I used the IO-Tee-0.64 to direct the output of the perl program also to the screen but still have problems with the DOS program:
1. If I use a tee DOS utility by executing
I will get the tee program return code and not the the build.exe program - how do I get the correct RC?
2. The tee utility in DOS (which I downloaded from the net) can't redirect the STDERR output to a file. How can I do it?