Add files via upload
This commit is contained in:
parent
310b71f669
commit
d61a5aa4f6
|
@ -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])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user