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

后端 未结 1 432
感动是毒
感动是毒 2021-02-11 14:35

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)
提交回复
热议问题