我尝试使用 wslview 打开位于 /usr/libexec/valgrind/dh_view.html 的 valgrinds dhal Web 界面。
wslview /example/path/file
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Start : This command cannot be run due to the error: The system cannot find the file specified.
At line:1 char:1
+ Start "/usr/libexec/valgrind/dh_view.html"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Run Code Online (Sandbox Code Playgroud)
当我在工作目录中指定文件时,一切正常。没有cd如何使用wslview?