What is the best way to capture STDOUT and STDERR from an external program?
If it can't be done separately, is there an equivalent to the bash-ism 
 ./myprogram 2>&1 > log.txt

Reply via email to