mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
added shell=True back where command is executed as string
This commit is contained in:
parent
56da57c928
commit
a19ffc1e56
4 changed files with 4 additions and 4 deletions
|
|
@ -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):
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue