mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
plugins wait until ffmpeg finish job
This commit is contained in:
parent
742bbb590f
commit
a0b009a633
2 changed files with 4 additions and 2 deletions
|
|
@ -58,7 +58,8 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
|
|||
jpeg_items.append(full_output_path)
|
||||
|
||||
subprocess_jpeg = " ".join(jpeg_items)
|
||||
subprocess.Popen(subprocess_jpeg)
|
||||
sub_proc = subprocess.Popen(subprocess_jpeg)
|
||||
sub_proc.wait()
|
||||
|
||||
if "files" not in instance.data:
|
||||
instance.data["files"] = list()
|
||||
|
|
|
|||
|
|
@ -67,7 +67,8 @@ class ExtractQuicktimeEXR(pyblish.api.InstancePlugin):
|
|||
" ".join(output_args)
|
||||
]
|
||||
subprocess_mov = " ".join(mov_args)
|
||||
subprocess.Popen(subprocess_mov)
|
||||
sub_proc = subprocess.Popen(subprocess_mov)
|
||||
sub_proc.wait()
|
||||
|
||||
if "files" not in instance.data:
|
||||
instance.data["files"] = list()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue