我在Windows10上使用Strawberry Perl version5.30,并尝试使用Perl模块打印出注册表项HKEY_CLASSES_ROOT/Directory/Background/shell/WSL的值。以下是Windows 10中注册表编辑器应用程序的屏幕截图:
我使用这个Perl脚本来打印值:
use feature qw(say);
use warnings;
use strict;
use Data::Dumper qw(Dumper);
use Win32::TieRegistry( Delimiter=>"/", ArrayVal
我在Windows的wsl2上运行了Ubuntu LTS20.04,这样我就能够编译我的JS/React代码,在linux上运行我的php服务器,并使用windows来使用Visual Studio Code进行编码。 这运行得很好,但奇怪的事情正在发生,我通过Visual Studio Code终端安装了nvm和gulp,如果我在终端上使用它们,它工作得很好,但如果我在终端外(使用Windows终端)运行,它会显示对于gulp和nvm都找不到。 我假设VSCode在路径中添加了一些东西,但我不知道如何才能让windows终端(outisde VSCode终端)找到它们。下面的屏幕。左边是在
我认为这是在我使用RDP之后发生的。每当我在终端中写入code .时,它都会提示:
To use Visual Studio Code with the Windows Subsystem for Linux, please install Visual Studio Code in Windows and uninstall the Linux version in WSL. You can then use the `code` command in a WSL terminal just as you would in a normal command prompt.
Do you wa
通过下载运行安装程序,我已经在Windows 10上本地安装了Atom编辑器。现在,我启动WSL Ubuntu发行版,并希望使用命令atom .或VSCode (visual-studio-code)命令code .启动Atom (原子编辑器)。
Atom启动,但不是在执行命令的目录中,而是显示来自C:\\Windows的文件。此外,Ubuntu终端显示以下错误消息:
atom .
grep: /etc/wsl.conf: No such file or directory
"\\wsl$\Ubuntu-18.04\home\wlad\projects\udemy\flask-boot