restore LD_LIBRARY_PATH for PyInstaller builds (#5421)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -171,7 +171,7 @@ class UgoiraPP(PostProcessor):
|
||||
def _exec(self, args):
|
||||
self.log.debug(args)
|
||||
out = None if self.output else subprocess.DEVNULL
|
||||
retcode = subprocess.Popen(args, stdout=out, stderr=out).wait()
|
||||
retcode = util.Popen(args, stdout=out, stderr=out).wait()
|
||||
if retcode:
|
||||
print()
|
||||
self.log.error("Non-zero exit status when running %s (%s)",
|
||||
|
||||
Reference in New Issue
Block a user