pull/548/head
zanllp 2024-03-21 10:58:34 +08:00
parent a0f89801ab
commit b6c03bd819
1 changed files with 1 additions and 1 deletions

View File

@ -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: