aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/exec.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-06-06 02:40:21 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2024-06-06 02:40:21 -0400
commitea5caef5825450c5363e358b34cc75dd064c071e (patch)
tree041fc10d8f9e370f6f63265071197dc05b922459 /gallery_dl/postprocessor/exec.py
parentfafdb86c116945de94562112b8958cd9cbf704ef (diff)
parent1c28712d865e30ed752988ba0b6944882250b665 (diff)
Update upstream source from tag 'upstream/1.27.0'
Update to upstream version '1.27.0' with Debian dir c97c2a359fc3b8629b579096d65e31f5d6010ce7
Diffstat (limited to 'gallery_dl/postprocessor/exec.py')
-rw-r--r--gallery_dl/postprocessor/exec.py5
1 files changed, 2 insertions, 3 deletions
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)