Skip to content

Commit 10a3617

Browse files
committed
Similar to 1517fe0, but for command_viewer
shlex.split by default runs in POSIX mode which seems to swallow slashes (\). By setting POSIX mode to False, this doesn't happen
1 parent 951c43d commit 10a3617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

viewers/command_viewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _run_command(self, command, pdf_file, tex_file=None, line='', col=''):
112112
if PY2:
113113
command = str(command)
114114

115-
command = shlex.split(command)
115+
command = shlex.split(command, False, False)
116116

117117
if PY2:
118118
command = [unicode(c) for c in command]

0 commit comments

Comments
 (0)