Hi,
I'm starting a process as follows -
Process process = new Process();
process.StartIn fo.UseShellExec ute = false;
process.StartIn fo.FileName = installValue + "\\Lib\\sit e-packages\
\pythonwin\\Pyt honwin.exe";
process.StartIn fo.Arguments = "/run " + script;
process.Start() ;
process.WaitFor Exit();
when the user presses a button on my GUI. The problem is that my
program is blocked until python is closed. Instead, I'd like to
disable all buttons in my appilcation until python is closed. That way
my program is not blocked but I can still stop the user changing
settings until python is closed.
Should I create a Process which polls process.WaitFor Exit() or is
there a better/easier way of doing this?
Thanks,
Barry.