From c7a650986a025dccfba25134da22b68b1e0caa14 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 22 Dec 2020 17:11:00 +0100 Subject: [PATCH] plugin_tools is again using `run_subprocess` instead of `execute` --- pype/lib/plugin_tools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pype/lib/plugin_tools.py b/pype/lib/plugin_tools.py index 6d074329bc..4c96aaae8f 100644 --- a/pype/lib/plugin_tools.py +++ b/pype/lib/plugin_tools.py @@ -7,7 +7,7 @@ import re import json import tempfile -from . import execute +from .execute import run_subprocess, execute from pype.settings import get_project_settings @@ -204,7 +204,7 @@ def decompress(target_dir, file_url, log = logging.getLogger(__name__) log.debug("Decompressing {}".format(subprocess_exr)) - execute.execute( + run_subprocess( subprocess_exr, shell=True, logger=log ) @@ -242,7 +242,7 @@ def should_decompress(file_url): and we can decompress (oiiotool supported) """ if oiio_supported(): - output = execute.execute([ + output = run_subprocess([ os.getenv("PYPE_OIIO_PATH"), "--info", "-v", file_url]) return "compression: \"dwaa\"" in output or \