GNU bug report logs - #30928
nice: add option to abort on failure to change priority

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Sat, 24 Mar 2018 19:50:02 UTC

Severity: wishlist

Full log


Message #20 received at 30928 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>,
 L A Walsh <coreutils <at> tlinx.org>
Cc: 30928 <at> debbugs.gnu.org
Subject: Re: bug#30928: no error val returned by 'nice' failure?
Date: Sun, 1 Apr 2018 10:03:01 -0700
Pádraig Brady wrote:
> I wonder could we special case `nice true`
> to indicate the nice return

That would lead to a problem where 'nice true' succeeds but 'nice cmd' (for 
whatever reason) does not. Perhaps the OS has a limit as to how many processes 
you can 'nice', for example. It'd be safer to add an option to avoid such race 
conditions. Plus, as you mention it'd be less hacky, which means it'd be more 
straightforward to document.




This bug report was last modified 6 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.