This is a bad indicator of the backwards compatibility of minor versions
since adding the flag with a default like this would probably break a
lot of code down there. Sometimes it seems that python developers are
not really concerned with how many things they break in their minors.
if sys.version_info.major <= 3 and sys.version_info.minor < 5:
return call_helpers.subprocess_run(cmd, check=not ignore_errors, shell=True)
else:
- return subprocess.run(cmd, check=not ignore_errors, shell=True)
+ return subprocess.run(cmd, check=not ignore_errors, shell=True, capture_output=True)
def verify_running(process='arnied', timeout=60, vm=None):