RE: [python-win32] Windows process priority setting question...(cross-post)

2004-12-17 Thread Jimmy Retzlaff
Ray S wrote: > Is it possible to have an app re-set its own priority, a-la task manager? > > I see that 2.4+ has the ability for sub-processes, but only on creation. > > Apparently > win32process.SetPriorityClass(handle, dwPriorityClass) > and > PyCWinThread.SetThreadPriority(priority) > allows o

[python-win32] Windows process priority setting question... (cross-post)

2004-12-15 Thread Ray S
Is it possible to have an app re-set its own priority, a-la task manager? I see that 2.4+ has the ability for sub-processes, but only on creation. Apparently win32process.SetPriorityClass(handle, dwPriorityClass) and PyCWinThread.SetThreadPriority(priority) allows one to change a sub while a the su