
RunPrio allows you to run commands with a specified priority.
It also allows you to see the exit code of the command AND
specify a time-out for the command. After the time-out has
expired, RunPrio will attempt to terminate the command.

Note that the priority setting will only affect the command
started by RunPrio, not processes started by that command,
unless the priority is "low". This is NT's default behaviour.

Also note that the time-out won't be able to terminate
processes started by the command, only the command itself,
and that it may not be possible to terminate 16-bit programs 
at all. This is no fault of mine; I simply cannot find 
documentation on how to reliably terminate ALL child processes.
Anyone care to drop me a line with a helpful C source hint? :)


Usage: runprio [-x] [-t n] <level> <command> [<params>]
where <level> is one of "low", "normal", "high", "realtime"

-x   : Print exit code of <command>
-t n : Timeout after n seconds - kill the command

Example: runprio -x high cmd /c echo Hello world!
         at 00:00 runprio -t 600 low mybatch.bat


RunPrio is provided "AS-IS". I make no guarantees WHAT SO EVER
that it will be "fit for a particular purpose" or that it will
work at all. As a rule, I will _NOT_ accept support e-mail; refer 
to the readme.txt file. 

You might however send bug reports or ideas for improvement; who 
knows, I might actually find time to get around to implementing
them some day! :)

RunPrio is copyright EnterNet Sweden 1999. All rights reserved.

Mikael Olsson, EnterNet Sweden
mikael.olsson@enternet.se
