##// END OF EJS Templates
More info about erroneous environment variable
Thomas Kluyver -
Show More
@@ -222,7 +222,7 b' def ipexec(fname, options=None, commands=()):'
222 # Debug a bizarre failure we've seen on Windows:
222 # Debug a bizarre failure we've seen on Windows:
223 # TypeError: environment can only contain strings
223 # TypeError: environment can only contain strings
224 if not isinstance(v, str):
224 if not isinstance(v, str):
225 print(v)
225 print(k, v)
226 p = Popen(full_cmd, stdout=PIPE, stderr=PIPE, stdin=PIPE, env=env)
226 p = Popen(full_cmd, stdout=PIPE, stderr=PIPE, stdin=PIPE, env=env)
227 out, err = p.communicate(input=py3compat.str_to_bytes('\n'.join(commands)) or None)
227 out, err = p.communicate(input=py3compat.str_to_bytes('\n'.join(commands)) or None)
228 out, err = py3compat.bytes_to_str(out), py3compat.bytes_to_str(err)
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