遇到问题
Traceback (most recent call last):
File ".\sublime_plugin.py", line 230, in run_ File ".\exec.py", line 145, in run File ".\exec.py", line 42, in __init__UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 15: ordinal not in range(128)
解决方法
exec.py里面替换
proc_env[k] = os.path.expandvars(v).encode(sys.getfilesystemencoding())
为
proc_env[k] = os.path.expandvars(v.decode(sys.getfilesystemencoding())).encode(sys.getfilesystemencoding())
解决~