On Mon, Jun 06, 2005 at 11:10:01AM +0300, Aviv Goll wrote:
> That runs ripperX with a different nice, I want "lame" to run with a 
> different nice.
> ripperX calls lame. 

So it is lame you want to renice.

> do I need to change the ripperX code?

Not at all.

Have it call a wrapper script that runs 

  nice -n20 /path/to/real-lame "$@"

If you can change the command it runs, change it. If it runs the command
frm the PATH: /usr/local/bin is checkede before /usr/bin. Place your
wrapper script there (this is why I put there /path/to/real-lame' and
not `which lame`). And if both those two approchaes fail, move
lame elsewhere and place your wrapper script instead.

-- 
Tzafrir Cohen         | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |                           | a Mutt's  
[EMAIL PROTECTED] |                           |  best
ICQ# 16849755         |                           | friend

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to