在(v1) Alpine终端上,我希望设置一个环境变量,该变量被传递到一个Windows可执行文件中。有办法这样做吗?在Windows和WSL之间共享环境变量
Available in Windows Insider builds 17063 and later.在17063之前,只有WSL可以访问的Windows环境变量是PATH (因此您可以从WSL下启动Win32可执行文件)。从17063开始,WSL
Subsystem for Linux, please install Visual Studio Code in Windows and uninstall the Linux version in WSLYou can then use the `code` command in a WSL terminal just as you would in a normal command prompt.y
To no longer see this prompt, start Visual Studio Code with the environment v
我在Windows 10中使用WSL。QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aadithyasb'
我可以理解,没有设置XDG_RUNTIME_DIR环境变量Wy问题是我是否应该在windows中添加这个XDG_RUNTIME_DIR环境变量,或者有什么方法可以在WSL下使用的Ubuntu变量下设置一个目录?