marlboroguy58:
I just did a quick google, and found that you should be able to control the priority of tasks by using this command to start them:
start /belownormal program.exe
I found this at http://www.comptechdoc.org/os/windows/win2k/win2kprocess.html.
...roboticus | [reply] [d/l] |
Reviewing this, I suggest a couple of minor modifications to meet the OP requirements:
start /realtime perl theprogram.pl
| [reply] [d/l] |
Moron:
Ha, ha! That's quite correct++. When I read the original post (OP), it made me start the google search because I have a similar problem. So my response answers my problem rather than the question in the OP. Thanks for the catch, Moron.
...roboticus
| [reply] |
The priority of the process shouldn't cause it to exit, unless there's some time limit in the program. To figure out why it's existing, try running it from a command shell, and see if it prints a helpful error message before exiting. If that doesn't help, try adding error messages in the various places that it exits, adding debugging messages in the code, and/or running it under the debugger.
Good luck!
| [reply] |