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:
MedNait
2018-04-09 00:54:22 +02:00
committed by GitHub
parent 69a091748b
commit 5a1ba37a9d

View File

@ -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")