mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
c40a7fd644
Background processes may produce output on STDOUT. This could get captured when obtaining the result of "echo $?" to get previos command's exit code. So it's not safe to assume that output will always be an int. Attempt to strip out superflous output before doing the int conversion and, on failure, log a warning but don't error out.