Process.Start and redirect to text file / pipe another process
When you want to spawn a process, but want the process to dump to a text file you might use :
Process.Start("cmd.exe", "/c foo.exe -arg >" + dumpDir + "\\foo_arg.txt");
When you want to spawn a process, but want the process to dump to a text file you might use :
Process.Start("cmd.exe", "/c foo.exe -arg >" + dumpDir + "\\foo_arg.txt");
Comments have been disabled for this content.