Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set env variable before excuting python file #33

Closed
sunqi1993 opened this issue Nov 18, 2016 · 4 comments
Closed

set env variable before excuting python file #33

sunqi1993 opened this issue Nov 18, 2016 · 4 comments
Labels

Comments

@sunqi1993
Copy link

sunqi1993 commented Nov 18, 2016

First of all,thanks for your ext! It's really awesome
on windows
the default encoding of cmd is cp936,but the this ext output default is utf8 that will case a decoding problem,
like this:
image

i wonder if it's better to add a feature for some language to set the environment variable before executing *.py file

like the task.json
image

@sunqi1993
Copy link
Author

sunqi1993 commented Nov 18, 2016

.....
I made a mistake,"code-runner.executorMap" can solve this problem

@formulahendry
Copy link
Owner

formulahendry commented Nov 18, 2016

Just curious how you resolve this? 😄 The issue is similiar to #25

@sunqi1993
Copy link
Author

sunqi1993 commented Nov 27, 2016

image

==.... , I see it in your blog ! haha

@formulahendry
Copy link
Owner

Awesome! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants