E
eggie5
Currently, this code will return immediately after the process is
started. How can I modify it so that it will not return until the
process has stopped?
using (Process process = new Process())
{
process.StartInfo.FileName = @"C:\myprocess.exe";
process.StartInfo.Arguments = String.Format("-j {0}",
path);
process.Start();
}
started. How can I modify it so that it will not return until the
process has stopped?
using (Process process = new Process())
{
process.StartInfo.FileName = @"C:\myprocess.exe";
process.StartInfo.Arguments = String.Format("-j {0}",
path);
process.Start();
}