mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 12:24:32 +00:00
8aa1bdc63d
It is possible that the command executed by get_pids_of() will return None (in cases where there are no running processes with the specified name and the grep call didn't find anything). If that happens, then the subsequent call to split() failed (as that is not a method of None). To avoid this, substitute an empty string instead.