We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fef956f commit 4b1d1ebCopy full SHA for 4b1d1eb
1 file changed
tools/donate_cpu_lib.py
@@ -16,7 +16,7 @@
16
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
17
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
18
# changes)
19
-CLIENT_VERSION = "1.3.9"
+CLIENT_VERSION = "1.3.10"
20
21
# Timeout for analysis with Cppcheck in seconds
22
CPPCHECK_TIMEOUT = 30 * 60
@@ -269,7 +269,11 @@ def run_command(cmd):
269
if len(child_procs) > 0:
270
for child in child_procs:
271
child.terminate()
272
- comm = p.communicate()
+ try:
273
+ # call with timeout since it might get stuck e.g. gcc-arm-none-eabi
274
+ comm = p.communicate(timeout=5)
275
+ except subprocess.TimeoutExpired:
276
+ pass
277
p = None
278
finally:
279
if p:
0 commit comments