Skip to content

Commit

Permalink
Remove shlex.quote with custom terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
friday committed Aug 19, 2021
1 parent 366e1c6 commit 07258df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ulauncher/api/shared/action/LaunchAppAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def run(self):
terminal_exec = shlex.split(settings.get_property('terminal-command'))
if app.get_boolean('Terminal') and terminal_exec:
logger.info('Will run command in preferred terminal (%s)', terminal_exec)
sanitized_exec = terminal_exec + [shlex.quote(sanitized_exec)]
sanitized_exec = terminal_exec + [sanitized_exec]
else:
sanitized_exec = shlex.split(sanitized_exec)
if hasSystemdRun:
Expand Down

0 comments on commit 07258df

Please sign in to comment.