Skip to content

Commit 93e2155

Browse files
committed
Bugfix 2071: Remove prev commit, handle quotes when logging on macOS
1 parent 091701f commit 93e2155

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/briefcase/platforms/macOS/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,9 @@ def run_gui_app(
400400
# as the process will generate lots of system-level messages.
401401
# We can't filter on *just* the senderImagePath, because other
402402
# apps will generate log messages that would be caught by the filter.
403-
sender = os.fsdecode(self.binary_path(app) / "Contents/MacOS" / app.formal_name)
403+
sender = os.fsdecode(
404+
self.binary_path(app) / "Contents/MacOS" / app.formal_name
405+
).replace('"', '\\"')
404406
log_popen = self.tools.subprocess.Popen(
405407
[
406408
"log",

0 commit comments

Comments
 (0)