I have a script (extendscript for AE) that create a command file and execute it. the generated command file look like:
FILE=/path/file
VAR="nice -n 9 ./application $FILE "
cd /Applications/applicationpath
$VAR
Once my script is launching by the application I run :
ps -lp {processID}
on terminal and I get NI = 0 whatever the number I put after nice -n
If I manually renice the process, then ps -lp
displays the correct process priority
Am I doing something wrong?