Hello all,
I have problems letting this application wait. I tried everything in my knowledge.
Here is the code:
this code follows it up:
Can someone please help me?
Thanks in advance!
Regards,
Dennis
I have problems letting this application wait. I tried everything in my knowledge.
Here is the code:
Code:
System.Diagnostics.Process procdemux = new System.Diagnostics.Process(); procdemux.StartInfo.UseShellExecute = true; procdemux.StartInfo.CreateNoWindow = false; procdemux.StartInfo.RedirectStandardOutput = false; procdemux.StartInfo.FileName = currentPath + "\\res\\demux.bat"; procdemux.Start(); procdemux.WaitForExit(3000); procdemux.Close();
Code:
System.Diagnostics.Process procencode = new System.Diagnostics.Process(); procencode.StartInfo.UseShellExecute = true; procencode.StartInfo.CreateNoWindow = false; procencode.StartInfo.RedirectStandardOutput = false; procencode.StartInfo.FileName = currentPath + "\\res\\encode.bat"; procencode.Start(); procencode.WaitForExit(3000); procencode.Close();
Thanks in advance!
Regards,
Dennis
Comment