views:

37

answers:

0

Developing a UI for an image compactor, and I have built a Pause/Resume button. I need it to pause/set priority to low while it is running.

Now I know that it is dangerous to Pause a process and has to do with threading, but if someone knows how to do this, please help!

Also, if the above cannot be done efficiently enough, I would rather set the process priority to low.

The problem I currently have is doing it while the process is already running, using the Process object.

Thanks much!