Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Jun 14, 2019
1 parent c6e1378 commit f810075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rezplugins/shell/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CMD(Shell):

# Regex to aid with escaping of Windows-specific special chars:
# http://ss64.com/nt/syntax-esc.html
_escape_re = re.compile(r'(?<!\^)[&<>]|(?<!\^)\^(?![&<>\^])')
_escape_re = re.compile(r'(?<!\^)[&<>]|(?<!\^)\^(?![&<>\^])|(\|)')
_escaper = partial(_escape_re.sub, lambda m: '^' + m.group(0))

@property
Expand Down

0 comments on commit f810075

Please sign in to comment.