Shell priority

  • Thread starter Thread starter Stuart
  • Start date Start date
S

Stuart

I'm using Shell() to call up an external program that eats CPU cycles,
and I want to lower it's priority. Any way of doing this?

Stuart.
 
* Stuart said:
I'm using Shell() to call up an external program that eats CPU cycles,
and I want to lower it's priority. Any way of doing this?

Untested:

\\\
Dim p As Process = Process.Start(...)
p.PriorityClass = ProcessPriorityClass.Idle
///
 
I'm using Shell() to call up an external program that eats CPU cycles,
Untested:

\\\
Dim p As Process = Process.Start(...)
p.PriorityClass = ProcessPriorityClass.Idle
///

Thanks,
seems to work.

S.
 
Back
Top