C#C
C#3y ago
Relevant

❔ Improving performance for Process.Start

I have an application that will run a python script using Process.Start. At the end, I'm reading the output with process.StandardOutput.ReadToEnd(). If I run the script on it's own, it runs in about 1 second. But running it this way takes about 2 seconds. Is there any way I could reduce some overhead? Is reading output time consuming?
Was this page helpful?