Redirecting StandardOutput June 23, 2007March 7, 2009 kwong Sometimes it is necessary for a main program to invoke other executables during runtime.