add the ability to set the priority of the render process as commandline argument
This commit is contained in:
committed by
Laurent Clouet
parent
2f00d7816d
commit
d8aa315699
@@ -148,7 +148,12 @@ public class Mac extends OS {
|
||||
}
|
||||
if (this.hasNiceBinary.booleanValue()) {
|
||||
// launch the process in lowest priority
|
||||
actual_command.add(0, "19");
|
||||
if (env != null) {
|
||||
actual_command.add(0, env.get("PRIORITY"));
|
||||
}
|
||||
else {
|
||||
actual_command.add(0, "19");
|
||||
}
|
||||
actual_command.add(0, "-n");
|
||||
actual_command.add(0, NICE_BINARY_PATH);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user