##// END OF EJS Templates
ipexec: prevent output coloring under PyCharm...
Nikita Kniazev -
r26939:b5dc5d7c
parent child
Show More
@@ -205,6 +205,8 def ipexec(fname, options=None, commands=()):
205 205 # should we keep suppressing warnings here, even after removing shims?
206 206 env['PYTHONWARNINGS'] = 'ignore'
207 207 # env.pop('PYTHONWARNINGS', None) # Avoid extraneous warnings appearing on stderr
208 # Prevent coloring under PyCharm ("\x1b[0m" at the end of the stdout)
209 env.pop("PYCHARM_HOSTED", None)
208 210 for k, v in env.items():
209 211 # Debug a bizarre failure we've seen on Windows:
210 212 # TypeError: environment can only contain strings
General Comments 0
You need to be logged in to leave comments. Login now