0

I create a Process using the java.lang.ProcessBuilder. The target is an exe-file(using windows here) with some arguments.

This process is very CPU intensive, so I wan't it to run at low priority.

Is there a way to do this from java?

System independent solution would be better but Windows would do.

It is important, that it is started without a window.

KarlsFriend
  • 745
  • 1
  • 4
  • 17
  • see this question: http://stackoverflow.com/questions/2865610/cross-platform-way-to-change-java-process-priority – ashosborne1 Feb 26 '15 at 10:59
  • This may help: http://superuser.com/questions/620724/changing-windows-process-priority-via-command-line – assylias Feb 26 '15 at 10:59

0 Answers0