Open HZ89 opened 2 years ago
powshell command need full-path, zsh have no this in env
var powershell = "/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe"
powshell command need full-path, zsh have no this in env
var powershell = "/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe"
Is the Ubuntu running in WSL? powershell is in $PATH in WSL by default. Maybe you can manually add it to PATH.
And powershell.exe can indeed be called in WSL Ubuntu, even if you are using WSL in conhost or cmd. that's the charming part of WSL.
Only in bash shell you have this path in env. Many people use zsh, fish or other shell.
so sshz must work in windows powershell? If not, how pwoershell.exe work in ubuntu? And control+d, exit or stdin closed sshz not stop.