Skip to content

Commit

Permalink
Improve installbundle.shell_escape() a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Apr 13, 2017
1 parent 70dbd7e commit e73c566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vistrails/gui/bundles/installbundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def hide_splash_if_necessary():


def shell_escape(arg):
return '"%s"' % arg.replace('\\', '\\\\').replace('"', '\\"')
return '"%s"' % arg.replace('\\', '\\\\').replace('"', '\\"').replace('`', '\\`').replace('$', '\\$')


def run_install_command(graphical, cmd, args, as_root=True):
Expand Down

0 comments on commit e73c566

Please sign in to comment.