public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* default high priority for mintty
@ 2024-02-29 21:37 Charles Russell
  2024-03-01  5:45 ` Backwoods BC
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Russell @ 2024-02-29 21:37 UTC (permalink / raw)
  To: cygwin

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: default high priority for mintty
  2024-02-29 21:37 default high priority for mintty Charles Russell
@ 2024-03-01  5:45 ` Backwoods BC
  0 siblings, 0 replies; 2+ messages in thread
From: Backwoods BC @ 2024-03-01  5:45 UTC (permalink / raw)
  To: cygwin

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"

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-01  5:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-29 21:37 default high priority for mintty Charles Russell
2024-03-01  5:45 ` Backwoods BC

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).