I have the following code and when it hits the WaitForIdleInput() line,
it gives me the exception "No process is associated with this object".
I've searched the groups and read a ton of posts about this error, but
no suggestions have fixed it. What can I try? Thanks.
ProcessStartInfo si = new ProcessStartInfo(appPath + "lame", "
--abr 64 " + source + " " + destination);
si.UseShellExecute = false;
si.RedirectStandardOutput = true;
System.Diagnostics.Process oProcess = new Process();
oProcess.StartInfo = si;
oProcess.WaitForInputIdle();
if (!oProcess.HasExited)
oProcess.WaitForExit();