43
43
Return a tuple containing the subprocess return code, output and error.
47
48
logging.debug('running the following: {}'.format(cmdline))
51
52
# A return code 127 is returned by the shell when the command is not
53
return 127, '', '{}: {}'.format(args[0], err)
54
return 127, '', '{}: {}'.format(command, err)
54
55
output, error = process.communicate()
56
57
logging.debug('retcode: {} | output: {!r} | error: {!r}'.format(