Skip to content

Commit

Permalink
fix: Quote wine command
Browse files Browse the repository at this point in the history
fixes: #3407
  • Loading branch information
jntesteves authored and mirkobrombin committed Jul 9, 2024
1 parent eb6399e commit 69c31b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bottles/backend/wine/winecommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def _get_runner_info(self) -> tuple[str, str]:
if arch == "win64":
runner = f"{runner}64"

runner = runner.replace(" ", "\\ ")
runner = shlex.quote(runner)

return runner, runner_runtime

Expand Down

0 comments on commit 69c31b4

Please sign in to comment.