luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
249 stars 58 forks source link

windows: The download function will download the file to the user's directory. #330

Closed q962 closed 2 months ago

q962 commented 2 months ago

The download function will download the file to the user's directory.

The Start-Process function will magically call luvi.exe in the user's directory. The conflict is that the working directory is still the current directory. So luvi.exe cannot find lit.zip

q962 commented 2 months ago

Well, I was wrong.

It was because of incompatibility issues in my environment.

TMP/tmp and TEMP/temp environment variables conflict error when executing PowerShell in msys2