def run_process(self, name, args):
    try:
        if (os.name == 'nt'):
            name = (name + '.exe')
        args.insert(0, name)
        p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
        output = p.stdout.read()
        error = p.stderr.read()
        p.wait()
        rc = p.returncode
        return (rc, output, error)
    except OSError:
        _exit_if_errors([f'Could not locate the {name} executable'])
def run_process(self, name, args):
    try:
        if (os.name == 'nt'):
            name = (name + '.exe')
        args.insert(0, name)
        p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
        output = p.stdout.read()
        error = p.stderr.read()
        p.wait()
        rc = p.returncode
        return (rc, output, error)
    except OSError:
        _exit_if_errors([f'Could not locate the {name} executable'])