View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
Oh yes, I remember that :P

Basically you can do this in your script:
vagalume && renice <insert all the right stuff> `pidof vagalume`

``'s in a script execute a command as an artument, pidof vagalume returns the pid of vagalume which renice uses.

So the pid doesn't matter.