Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/tools/image_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def open_file(path: str) -> None:
if sys.platform.startswith("darwin"):
subprocess.run(["open", path], check=False) # macOS
elif os.name == "nt": # Windows
os.astartfile(path) # type: ignore
os.startfile(path)
elif os.name == "posix":
subprocess.run(["xdg-open", path], check=False) # Linux/Unix
else:
Expand Down
Loading