-
-
Notifications
You must be signed in to change notification settings - Fork 348
Closed
Description
Describe the bug
When trying to open the command line on a bottle, if xfce-terminal is the chosen terminal emulator, the invoked command is not properly escaped as it can be seen here:
Command: xfce4-terminal -e 'sh -c '/home/evvie/.local/share/bottles/runners/soda-9.0-1/bin/wine64 cmd''
xfce4-terminal: Unknown option "cmd"
Because, here
Bottles/bottles/backend/utils/terminal.py
Line 106 in 9605655
| command = " ".join(self.terminal) % "'sh -c %s'" % f"{command}" |
To Reproduce
- Ensure you only have xfce-terminal
- Launch Bottle from a terminal to see the logs
- Create a new bottle
- Click on Tool > Command Line
Package
Flatpak from Flathub
Distribution
NixOs with Xfce
Debugging Information
Official Package: false
Version: '51.17'
DE/WM: xfce
Display:
X.org: true
X.org (port): :0.0
Wayland: false
Graphics:
vendors:
amd:
vendor: amd
envs:
DRI_PRIME: '1'
icd: /run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json
prime:
integrated: null
discrete: null
Kernel:
Type: Linux
Version: 6.12.11
Disk:
Total: 8033767424
Free: 8033767424
RAM:
MemTotal: 15.0GiB
MemAvailable: 11.7GiB
Bottles_envs: null
Tools and Libraries:
cabextract: true
p7zip: true
patool: true
glibc_min: '2.40'
icoextract: true
pefile: true
orjson: true
markdown: true
ImageMagick: true
FVS: true
xdpyinfo: trueTroubleshooting Logs
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels