Unverified Commit d61a5aa4 authored by acncagua's avatar acncagua Committed by GitHub

Add files via upload

parent 310b71f6
...@@ -550,6 +550,8 @@ Requested path was: {f} ...@@ -550,6 +550,8 @@ Requested path was: {f}
os.startfile(path) os.startfile(path)
elif platform.system() == "Darwin": elif platform.system() == "Darwin":
sp.Popen(["open", path]) sp.Popen(["open", path])
elif "microsoft-standard-WSL2" in platform.uname().release:
sp.Popen(["wsl-open", path])
else: else:
sp.Popen(["xdg-open", path]) sp.Popen(["xdg-open", path])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment