subprocess.check_output(args, *, stdin=None, stderr=None, shell=False, universal_newlines=False, timeout=None)
Run command with arguments and return its output.
If the return code was non-zero it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute and any output in the output attribute.
This is equivalent to:
run(..., check=True, stdout=PIPE).stdout
The arguments shown above are merely the most common ones. The full function signa