1 parent
84fb97f82a
commit
4768a7eb5a
1 file changed
+3
-1
@@ -176,7 +176,9 @@ class CommandlineCaller(object):
|
||||
|
||||
# if we are running under windows, make sure there are no unicode strings in the env
|
||||
if get_os() == "windows" and "env" in kwargs:
|
||||
kwargs["env"] = dict((k, to_native_str(v)) for k, v in kwargs["env"].items())
|
||||
kwargs["env"] = dict(
|
||||
(to_native_str(k), to_native_str(v)) for k, v in kwargs["env"].items()
|
||||
)
|
||||
|
||||
delimiter = kwargs.get("delimiter", b"\n")
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user