We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de8accc commit 7a8866fCopy full SHA for 7a8866f
examples/tools/image_generator.py
@@ -12,7 +12,7 @@ def open_file(path: str) -> None:
12
if sys.platform.startswith("darwin"):
13
subprocess.run(["open", path], check=False) # macOS
14
elif os.name == "nt": # Windows
15
- os.astartfile(path) # type: ignore
+ os.startfile(path) # type: ignore
16
elif os.name == "posix":
17
subprocess.run(["xdg-open", path], check=False) # Linux/Unix
18
else:
0 commit comments