You could use the launch-prefix flag in a .launch file, with a value something like "nice -n -1" (nice being the UNIX command for setting priority).
However, this feels very much like an XY Problem to me; can you edit the question to explain in more detail what you're trying to do? Using nice is a hack; there's probably a better answer.