From f787e31f8a23cef7fd4a5d2327963e01d571b31b Mon Sep 17 00:00:00 2001 From: LosFarmosCTL <80157503+LosFarmosCTL@users.noreply.github.com> Date: Wed, 20 Oct 2021 08:34:19 +0200 Subject: [PATCH] Add -n option to the open command (#3291) --- src/RunGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RunGui.cpp b/src/RunGui.cpp index 2ed5ef62b..990366b07 100644 --- a/src/RunGui.cpp +++ b/src/RunGui.cpp @@ -140,7 +140,7 @@ namespace { CFStringGetCStringPtr(macPath, CFStringGetSystemEncoding()); proc.setProgram("open"); - proc.setArguments({pathPtr, "--args", "--crash-recovery"}); + proc.setArguments({pathPtr, "-n", "--args", "--crash-recovery"}); CFRelease(appUrlRef); CFRelease(macPath);