Fix common.open_file for osx
This commit is contained in:
parent
bafd0209af
commit
dac524ccf3
|
@ -241,6 +241,8 @@ def open_file(path):
|
|||
"""
|
||||
if windows_check():
|
||||
os.startfile("%s" % path)
|
||||
elif osx_check():
|
||||
subprocess.Popen(["open", "%s" % path])
|
||||
else:
|
||||
subprocess.Popen(["xdg-open", "%s" % path])
|
||||
|
||||
|
|
Loading…
Reference in New Issue