diff --git a/modules/util.py b/modules/util.py index 0db13736c..768bf32d0 100644 --- a/modules/util.py +++ b/modules/util.py @@ -208,6 +208,6 @@ Requested path was: {path} elif platform.system() == "Darwin": subprocess.Popen(["open", path]) elif "microsoft-standard-WSL2" in platform.uname().release: - subprocess.Popen(["wsl-open", path]) + subprocess.Popen(["explorer.exe", subprocess.check_output(["wslpath", "-w", path])]) else: subprocess.Popen(["xdg-open", path])