extract review and extract burnin are passing logger to _subprocess

This commit is contained in:
iLLiCiTiT 2020-10-15 16:07:12 +02:00
parent cb2ca581e1
commit 4113c07281
2 changed files with 5 additions and 4 deletions

View file

@ -229,8 +229,7 @@ class ExtractBurnin(pype.api.Extractor):
self.log.debug("Executing: {}".format(args))
# Run burnin script
output = pype.api.subprocess(args, shell=True)
self.log.debug("Output: {}".format(output))
pype.api.subprocess(args, shell=True, logger=self.log)
for filepath in temp_data["full_input_paths"]:
filepath = filepath.replace("\\", "/")

View file

@ -180,8 +180,10 @@ class ExtractReview(pyblish.api.InstancePlugin):
# run subprocess
self.log.debug("Executing: {}".format(subprcs_cmd))
output = pype.api.subprocess(subprcs_cmd, shell=True)
self.log.debug("Output: {}".format(output))
pype.api.subprocess(
subprcs_cmd, shell=True, logger=self.log
)
output_name = output_def["filename_suffix"]
if temp_data["without_handles"]: