How do I launch a process with low priority? C#

后端 未结 1 475
星月不相逢
星月不相逢 2021-02-11 14:45

I want to execute a command line tool to process data. It does not need to be blocking. I want it to be low priority. So I wrote the below

 Process app = new Pro         


        
相关标签:
1条回答
  • 2021-02-11 15:00

    Try setting the PriorityClass AFTER you start the process. Task Manager works this way, allowing you to set priority on a process that is already running.

    0 讨论(0)
提交回复
热议问题