开发者

How to execute a python script in .NET application..?

When user click Build button Python script needs to run.I execute this by using process but so many processes created when so many cli开发者_运维技巧cked the Build button, server hang.


Trying my best to read between your (few) lines...

You could disable the button until the process finishes, so your users can't press it again until the script has completed.

Or, if you want to run the process synchronously instead, you might want to look into Process.WaitForExit().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜