Apologies if this is answered already, I've had a look but
can't find it.
I'd like to capture the ouput of a windows batch file so I
can write it out to a logfile. Common wisdom says use backtics.
But I'd also like to know if it blew up by testing the
return status, which suggests using a system() call
Are they mutually exclusive, or can I get both the return
value AND the programs output?