brezerk / q4wine

Q4Wine is a Qt GUI for W.I.N.E. It will help you manage wine prefixes and installed applications.
http://q4wine.brezblock.org.ua/
GNU General Public License v3.0
208 stars 40 forks source link

Pre and Post run Icon scripts unusable, if the path contains ")" #33

Closed ghost closed 11 years ago

ghost commented 11 years ago

OS: Ubuntu 12.04 (64bit) Q4Wine 1.0-r2

Using "(" or ")" in a script path breaks the application [e.g "/somewhere/drive_c/Program Files (x86)/sample.sh"].

Q4wine reports, that the application exit with 512.

Terminal Output: sh: 1: Syntax error: "(" unexpected

brezerk commented 11 years ago

Thx for bug report. Confirmed.

brezerk commented 11 years ago

This commit should fix this issue: https://github.com/brezerk/q4wine/commit/54478483c7d1bd802e359f472bfec71f9de0368c While you will have free time, test this solution please. Reopen ticket if needed.