added shell=True back where command is executed as string

This commit is contained in:
iLLiCiTiT 2021-09-21 10:39:38 +02:00
parent 56da57c928
commit a19ffc1e56
4 changed files with 4 additions and 4 deletions

View file

@ -120,7 +120,7 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
self.log.debug("{}".format(subprocess_command)) self.log.debug("{}".format(subprocess_command))
try: # temporary until oiiotool is supported cross platform try: # temporary until oiiotool is supported cross platform
run_subprocess( run_subprocess(
subprocess_command, logger=self.log subprocess_command, shell=True, logger=self.log
) )
except RuntimeError as exp: except RuntimeError as exp:
if "Compression" in str(exp): if "Compression" in str(exp):

View file

@ -64,7 +64,7 @@ class ExtractOtioAudioTracks(pyblish.api.ContextPlugin):
# run subprocess # run subprocess
self.log.debug("Executing: {}".format(cmd)) self.log.debug("Executing: {}".format(cmd))
openpype.api.run_subprocess( openpype.api.run_subprocess(
cmd, logger=self.log cmd, shell=True, logger=self.log
) )
# remove empty # remove empty

View file

@ -224,7 +224,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
self.log.debug("Executing: {}".format(subprcs_cmd)) self.log.debug("Executing: {}".format(subprcs_cmd))
openpype.api.run_subprocess( openpype.api.run_subprocess(
subprcs_cmd, logger=self.log subprcs_cmd, shell=True, logger=self.log
) )
# delete files added to fill gaps # delete files added to fill gaps

View file

@ -207,7 +207,7 @@ class ExtractReviewSlate(openpype.api.Extractor):
"Slate Executing: {}".format(slate_subprocess_cmd) "Slate Executing: {}".format(slate_subprocess_cmd)
) )
openpype.api.run_subprocess( openpype.api.run_subprocess(
slate_subprocess_cmd, logger=self.log slate_subprocess_cmd, shell=True, logger=self.log
) )
# create ffmpeg concat text file path # create ffmpeg concat text file path