fix 'set EM_PY' in batch files#23903
Conversation
sbc100
left a comment
There was a problem hiding this comment.
These files are all auto-generated by create_entry_points.py, so if you want to make changes that is the place to start.
Does cmd.exe not look for python.exe automatically when you type just python?
Isn't it better to use the bare python string since then the cmd.exe shell will also look for things like python.bat and python.com?
I ran into this issue when trying to use vcpkg with emscripten in my project. I don't know much about this parts so not sure about the answer to your questions. The direct error I saw is emcc.bat failed because of the error. Let me do some further investigation. |
How are you installing/using emscripten? Are you not using emsdk? Where is |
|
Close this one. The root cause is that environment variables are not inherited when using vcpkg. It’s not something we should fix in emscripten. |
This fixes the following error:
This is not usually triggered because usually
EMSDK_PYTHONis set.