Conversation
%PYTHON% -> call %PYTHON% Co-Authored-By: viking1304 <28989870+viking1304@users.noreply.github.com> Co-Authored-By: Steven England <github@steven-england.info>
|
I haven't used Windows scripting for a few years, but let's try to jog my memory and do something useful. Since Windows does not have the
into
so it will be an empty string in this example, but if the last one were first, it would be .exe I tested if this works correctly by changing 1: to 3: and restoring it to 1: again. If anyone has a better suggestion than this, please share your idea. With that code as a base, we can probably do something like this: Instead of we can just use EDIT: I forgot to mention that this eliminates the need for other changes and that the remaining code can stay as it is. There is no need to use calls all over the script this way. |
webui.bat does not work for users using pyenv-win
the is because when using pyenv-win the
pythonactually points to a bat script and so it needs to becallto functioncredit to
@stevenengland for bringing this to attention and providing a possible solution
@viking1304 for providing the reason of the issue
important I'm not sure if this fix should be applied
@viking1304 also provides an alternative (user side) fix by adding
this means that it is totally possible that other users of pyenvv are doing similar thing to get it working
if this PR is merged, it will allow NEW user of webui using pyenv-win to work but may break it for existing users
maybe there's a way of making work for both, something like
Checklist: