mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14783 from rwalton-arm/dont_capture_stdout
tfm-post-build: Don't capture subprocess stdoutpull/14874/head
commit
75808eaaf2
|
@ -152,14 +152,11 @@ def find_bl2_size(configFile):
|
|||
return bl2_size
|
||||
|
||||
def run_cmd(cmd, directory):
|
||||
|
||||
popen_instance = subprocess.Popen(
|
||||
cmd,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
cwd=directory,
|
||||
)
|
||||
|
||||
popen_instance.communicate()
|
||||
return popen_instance.returncode
|
||||
|
||||
|
|
|
@ -159,14 +159,11 @@ def find_bl2_size(configFile):
|
|||
return bl2_size
|
||||
|
||||
def run_cmd(cmd, directory):
|
||||
|
||||
POPEN_INSTANCE = subprocess.Popen(
|
||||
cmd,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
cwd=directory,
|
||||
)
|
||||
|
||||
POPEN_INSTANCE.communicate()
|
||||
return POPEN_INSTANCE.returncode
|
||||
|
||||
|
|
Loading…
Reference in New Issue