def check_call(cmd_args):
p = subprocess.Popen(cmd_args, stdout=subprocess.PIPE)<EOL>(output, err) = p.communicate()<EOL>return output<EOL>
Calls the command

Parameters
----------
cmd_args: list of str
    Command name to call and its arguments in a list.

Returns
-------
Command output