1

I am working with application written in python on windows 7, it needs calling process and setting the priority of the process to high, how can I increment or change the called process priority with python?

Hani
  • 61
  • 1
  • 7
  • Is the parent process running as administrator? – Keith Dec 16 '12 at 09:56
  • yes it is running as administrator – Hani Dec 16 '12 at 11:44
  • 1
    Why would being admin matter? And why are you running admin anyway? – David Heffernan Dec 16 '12 at 12:42
  • 1
    Related: [Start child process with limited priority](http://stackoverflow.com/q/13799371/95735) – Piotr Dobrogost Dec 16 '12 at 12:52
  • I don't know if it matter or not, but the process is running admin because it need to access many critical resources – Hani Dec 16 '12 at 13:50
  • related: [http://stackoverflow.com/questions/10761057/windows-command-line-assign-high-priority-to-findstr-within-a-loop](http://stackoverflow.com/q/10761057/4279). You could use with `subprocess` module if you can't install `psutil` module that provides a more uniform api (`.nice`) – jfs Dec 16 '12 at 18:22

0 Answers0