Add -n option to the open command (#3291)

This commit is contained in:
LosFarmosCTL
2021-10-20 08:34:19 +02:00
committed by GitHub
parent 17f98cb278
commit f787e31f8a
+1 -1
View File
@@ -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);