Follow-up Comment #1, patch #4340 (project findutils):

The nice value should be inherited from the parent process, I think, like
this:

$ nice ksh -c "sh -c \"sleep 1000\"" &
[1] 7091
$ jobs
[1]+  Running                 nice ksh -c "sh -c \"sleep 1000\"" &
$ ps -o pid,ppid,nice,args  -t
  PID  PPID  NI COMMAND
 7026  5125   0 bash
 7091  7026  10 ksh -c sh -c "sleep 1000"
 7092  7091  10 sleep 1000
 7093  7026   0 ps -o pid,ppid,nice,args -t

Could you give me a specific example demonstrating the problem that your
change is intended to address?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4340>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-findutils mailing list
Bug-findutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to