using (System.Diagnostics.Process process = System.Diagnostics.Process.Start(procStartInfo))
{
using (StreamReader reader = process.StandardOutput)
{
string result = reader.ReadToEnd();
return result ;
}
}
What you mean is to execute python, start it as a child process, and then check the program output. Check whether your python code has a print action at the last place. If not, then your C# should be blocked in reading python output and has been waiting for the program to complete execution. Suggest you
What you mean is to execute python, start it as a child process, and then check the program output. Check whether your python code has a print action at the last place. If not, then your C# should be blocked in reading python output and has been waiting for the program to complete execution. Suggest you