'This method uses `subprocess.check_output` to run the given command
and return the string from stdout, which is decoded when using
Python 3.'

def call_process(self, command, **kwargs):

    output = subprocess.check_output(command, **kwargs)
    if six.PY3:
        output = output.decode()
    return output
