default high priority for mintty
Backwoods BC
completely.and.totally.trash@gmail.com
Fri Mar 1 05:45:00 GMT 2024
On Thu, Feb 29, 2024 at 1:38 PM Charles Russell via Cygwin
<cygwin@cygwin.com> wrote:
>
> What is the easiest way to open mintty with high priority by default?
> Adding /High to the shortcut command string no longer seems to work in
> Windows 11.
Assuming that you're using the mintty window to run bash, or another
shell, you can include a command in your init script (e.g. .bash_rc)
to change the priority using 'renice':
renice -n <priorityChange> --pid $PPID
negative values of 'priorityChange' increase priority up to a maximum
of -20 which Windows 10 reports as "realtime"
More information about the Cygwin
mailing list