fix
parent
a0f89801ab
commit
b6c03bd819
|
|
@ -529,7 +529,7 @@ def open_file_with_default_app(file_path):
|
|||
if system == 'Darwin': # macOS
|
||||
subprocess.call(['open', file_path])
|
||||
elif system == 'Windows': # Windows
|
||||
subprocess.call(['start', file_path], shell=True)
|
||||
subprocess.call(file_path, shell=True)
|
||||
elif system == 'Linux': # Linux
|
||||
subprocess.call(['xdg-open', file_path])
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue