mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
Update extract_scene.py
Use the "start" command on Windows to open files instead of "open" on Mac OS or "xdg-open" on Linux. This helps solving "The system cannot find the path specified" issue #173.
This commit is contained in:
@ -145,6 +145,8 @@ def handle_scene(scene, **config):
|
||||
commands = ["open"]
|
||||
if (platform.system() == "Linux"):
|
||||
commands = ["xdg-open"]
|
||||
elif (platform.system() == "Windows"):
|
||||
commands = ["start"]
|
||||
|
||||
if config["show_file_in_finder"]:
|
||||
commands.append("-R")
|
||||
|
Reference in New Issue
Block a user