Uh oh!
There was an error while loading. Please reload this page.
build: fix windows build if python is a bat file - #2594
Conversation
Invoking a bat file without stopping requires call
rvagg
commented
Aug 28, 2015
Hah, interesting. /cc @nodejs/platform-windows Are you saying that depot_tools is using Node's vcbuild.bat? What for? |
skomski
commented
Aug 28, 2015
No I installed depot_tools in my PATH which uses a python.bat. |
domenic
commented
Aug 28, 2015
I guess it's kind of harmless, but meh... a third party software installation has effed up, and now we have to work around it? :( Where does it stop---do we execute all executables with call? I've gotten around this in the place by placing depot_tools/python_bin in my path directly. |
jbergstroem
commented
Sep 3, 2015
The downside here seems to be that |
skomski
commented
Sep 3, 2015
@domenic I would say python is a special case because of the history of hacks to handle multiple python versions and this change doesn't do any harm it simply makes it work for more people out-of-the-box and the overlap between depot_tools and node build users is most likely not low. @jbergstroem It works when invoked from powershell because it just executes |
orangemocha
commented
Sep 9, 2015
I kind of agree with that statement. Would invoking python**.exe** explicitly in vcbuild.bat solve the issue? |
skomski
commented
Sep 9, 2015
No. I don't know why there is such a resistance against this simple change.
It just works for more people out-of-the-box without any fiddling. |
orangemocha
commented
Sep 9, 2015
I disagree. Creating that batch file is ok, but the moment you add it to the system path, it's bound to interfere with other software. The resistance, at least on my part, is because this is not a bug in Node. Even if we change those lines to use |
skomski
commented
Sep 9, 2015
Well, I guess back to node.js policies. 🃏 |
Invoking a bat file without stopping requires
call.depot_tools uses a bat file which triggered this error.