def run_command(command):
return subprocess.check_output(command)<EOL>
Run the given command which should be a list like `subprocess.Popen`
expects. stdout is captured and returned by this function. If the command
exit code is not 0, `subprocess.CalledProcessError` will be raised.