##// END OF EJS Templates
More info about erroneous environment variable
Thomas Kluyver -
r18948:56972de1
parent child
Show More
@@ -222,7 +222,7 def ipexec(fname, options=None, commands=()):
222 222 # Debug a bizarre failure we've seen on Windows:
223 223 # TypeError: environment can only contain strings
224 224 if not isinstance(v, str):
225 print(v)
225 print(k, v)
226 226 p = Popen(full_cmd, stdout=PIPE, stderr=PIPE, stdin=PIPE, env=env)
227 227 out, err = p.communicate(input=py3compat.str_to_bytes('\n'.join(commands)) or None)
228 228 out, err = py3compat.bytes_to_str(out), py3compat.bytes_to_str(err)
General Comments 0
You need to be logged in to leave comments. Login now