Transform the command we pass to subprocess into a byte string in _low_level-exec_command
This commit is contained in:
parent
b0e7ea78af
commit
6d76cb40c5
1 changed files with 2 additions and 1 deletions
|
@ -499,7 +499,8 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|||
verbatim, then this won't work. May have to use some sort of
|
||||
replacement strategy (python3 could use surrogateescape)
|
||||
'''
|
||||
|
||||
# We may need to revisit this later.
|
||||
cmd = to_bytes(cmd, errors='strict')
|
||||
if executable is not None:
|
||||
cmd = executable + ' -c ' + cmd
|
||||
|
||||
|
|
Loading…
Reference in a new issue