Skip to content

Commit 75808ea

Browse files
authored
Merge pull request #14783 from rwalton-arm/dont_capture_stdout
tfm-post-build: Don't capture subprocess stdout
2 parents 80ce06f + 6d78f93 commit 75808ea

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/scripts/generate_mbed_image.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,11 @@ def find_bl2_size(configFile):
152152
return bl2_size
153153

154154
def run_cmd(cmd, directory):
155-
156155
popen_instance = subprocess.Popen(
157156
cmd,
158-
stdout=subprocess.PIPE,
159157
stderr=subprocess.STDOUT,
160158
cwd=directory,
161159
)
162-
163160
popen_instance.communicate()
164161
return popen_instance.returncode
165162

tools/targets/ARM_MUSCA.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,11 @@ def find_bl2_size(configFile):
159159
return bl2_size
160160

161161
def run_cmd(cmd, directory):
162-
163162
POPEN_INSTANCE = subprocess.Popen(
164163
cmd,
165-
stdout=subprocess.PIPE,
166164
stderr=subprocess.STDOUT,
167165
cwd=directory,
168166
)
169-
170167
POPEN_INSTANCE.communicate()
171168
return POPEN_INSTANCE.returncode
172169

0 commit comments

Comments
 (0)