diff --git a/pkg/config/config_linux.go b/pkg/config/config_linux.go index 8aaea4576..aa3793901 100644 --- a/pkg/config/config_linux.go +++ b/pkg/config/config_linux.go @@ -21,8 +21,8 @@ func isContainer() bool { func GetPlatformDefaultConfig() OSConfig { if isWSL() && !isContainer() { return OSConfig{ - Open: `powershell.exe start explorer.exe {{filename}} >/dev/null`, - OpenLink: `powershell.exe start {{link}} >/dev/null`, + Open: `powershell.exe start explorer.exe "$(wslpath -w {{filename}})" >/dev/null`, + OpenLink: `powershell.exe start '{{link}}' >/dev/null`, } }