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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,7 +140,7 @@ namespace {
CFStringGetCStringPtr(macPath, CFStringGetSystemEncoding()); CFStringGetCStringPtr(macPath, CFStringGetSystemEncoding());
proc.setProgram("open"); proc.setProgram("open");
proc.setArguments({pathPtr, "--args", "--crash-recovery"}); proc.setArguments({pathPtr, "-n", "--args", "--crash-recovery"});
CFRelease(appUrlRef); CFRelease(appUrlRef);
CFRelease(macPath); CFRelease(macPath);