add new process information to mac launch arguments

This commit is contained in:
iLLiCiTiT 2021-06-08 12:08:45 +02:00
parent 05d24382a4
commit 5cf841b2ef
2 changed files with 2 additions and 2 deletions

View file

@ -31,4 +31,4 @@ class LaunchWithTerminal(PreLaunchHook):
if len(self.launch_context.launch_args) > 1:
self.launch_context.launch_args.insert(1, "--args")
# Prepend open arguments
self.launch_context.launch_args.insert(0, ["open", "-a"])
self.launch_context.launch_args.insert(0, ["open", "-na"])

View file

@ -37,7 +37,7 @@ class StandAlonePublishAction(PypeModule, ITrayAction):
args = get_pype_execute_args("standalonepublisher")
kwargs = {}
if platform.system().lower() == "darwin":
new_args = ["open", "-a", args.pop(0), "--args"]
new_args = ["open", "-na", args.pop(0), "--args"]
new_args.extend(args)
args = new_args