fix how run_openpype_process works

This commit is contained in:
iLLiCiTiT 2022-01-10 14:06:12 +01:00
parent ac6280f959
commit 2a0f7b48d9
2 changed files with 2 additions and 2 deletions

View file

@ -164,7 +164,7 @@ def run_openpype_process(*args, **kwargs):
Example:
```
run_openpype_process(["run", "<path to .py script>"])
run_openpype_process("run", "<path to .py script>")
```
Args:

View file

@ -312,7 +312,7 @@ class ExtractBurnin(openpype.api.Extractor):
if platform.system().lower() == "windows":
process_kwargs["creationflags"] = CREATE_NO_WINDOW
run_openpype_process(args, **process_kwargs)
run_openpype_process(*args, **process_kwargs)
# Remove the temporary json
os.remove(temporary_json_filepath)