Permalink
Browse files

escaping more characters for the lantorrent output

  • Loading branch information...
1 parent 9a0e0a1 commit e477be36f4655a7815a39ccb677e02600cf87de6 @buzztroll buzztroll committed Jan 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 control/src/python/workspacecontrol/defaults/AsyncNotification.py
View
4 control/src/python/workspacecontrol/defaults/AsyncNotification.py
@@ -122,7 +122,7 @@ def _bashEscape(self, cmd):
"""returns \ escapes for some bash special characters"""
if not cmd:
return cmd
- escs = "\\'`|;()?#$^&*="
+ escs = "\\'`|;()?#$^&*=[]<>"
for e in escs:
idx = 0
ret = 0
@@ -132,4 +132,4 @@ def _bashEscape(self, cmd):
cmd = "%s\%s" % (cmd[:ret],cmd[ret:])
idx = ret + 2
return cmd
-
+

0 comments on commit e477be3

Please sign in to comment.