I want to redirect output to a file but I don't want to do it through the arguments like so:
ProcessStartInfo sInfo = new ProcessStartInfo();
sInfo.FileName = "test.exe";
sInfo.Arguments = "> test.log";
Process myProc = new Process();
myProc.StartInfo = sInfo;
myProc.Start();
It seems if I do that, it just flat out doesn't work. Any ideas how or a way around it?