From 1c28712d865e30ed752988ba0b6944882250b665 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Thu, 6 Jun 2024 02:40:15 -0400 Subject: New upstream version 1.27.0. --- gallery_dl/postprocessor/exec.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gallery_dl/postprocessor/exec.py') diff --git a/gallery_dl/postprocessor/exec.py b/gallery_dl/postprocessor/exec.py index e7ed2f6..7d2be2b 100644 --- a/gallery_dl/postprocessor/exec.py +++ b/gallery_dl/postprocessor/exec.py @@ -10,7 +10,6 @@ from .common import PostProcessor from .. import util, formatter -import subprocess import os import re @@ -80,14 +79,14 @@ class ExecPP(PostProcessor): def _exec(self, args, shell): self.log.debug("Running '%s'", args) - retcode = subprocess.Popen(args, shell=shell).wait() + retcode = util.Popen(args, shell=shell).wait() if retcode: self.log.warning("'%s' returned with non-zero exit status (%d)", args, retcode) def _exec_async(self, args, shell): self.log.debug("Running '%s'", args) - subprocess.Popen(args, shell=shell) + util.Popen(args, shell=shell) def _replace(self, match): name = match.group(1) -- cgit v1.2.3