diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2022-06-28 15:19:22 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2022-06-28 15:19:22 +0200 |
commit | 5c82c62dd7975e4cd914c61a9d8cc7a31469f9d1 (patch) | |
tree | 0e024f3945e51ede4f4a0ae05f7f19a7c236d600 | |
parent | 965aa3eec1b6da26848d47f8b4fb591f0bc53709 (diff) |
size, nfpvalues: accept multi-command size executables (e.g. using wine)
-rwxr-xr-x | script/nfpvalues.py | 2 | ||||
-rwxr-xr-x | script/size.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/script/nfpvalues.py b/script/nfpvalues.py index b88c3df..9d5d3a8 100755 --- a/script/nfpvalues.py +++ b/script/nfpvalues.py @@ -15,7 +15,7 @@ def main(size_executable, rom_sections, ram_sections): ram_sections = ram_sections.split(",") status = subprocess.run( - [size_executable, "-A", "build/system.elf"], + size_executable.split() + ["-A", "build/system.elf"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, diff --git a/script/size.py b/script/size.py index 48888cb..78b5cad 100755 --- a/script/size.py +++ b/script/size.py @@ -15,7 +15,7 @@ def main(size_executable, rom_sections, ram_sections): ram_sections = ram_sections.split(",") status = subprocess.run( - [size_executable, "-A", "build/system.elf"], + size_executable.split() + ["-A", "build/system.elf"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, |