Skip to content

Commit

Permalink
Fix windows not opening files
Browse files Browse the repository at this point in the history
  • Loading branch information
VoxelCubes committed Apr 23, 2023
1 parent 164db13 commit 6ef9583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepqt/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def open_file(path: Path):
if platform.system() == "Linux":
subprocess.run(["xdg-open", path])
elif platform.system() == "Windows":
subprocess.run(["start", path])
subprocess.run(["start", path], shell=True)
elif platform.system() == "Darwin":
subprocess.run(["open", path])
except Exception as e:
Expand Down

0 comments on commit 6ef9583

Please sign in to comment.