def METHOD_NAME():
    global RTT2PTY_PROC
    subprocess.check_call('rm -rf ./auto-pts-tester', shell=True)
    cmd = [RTT2PTY_PATH, "-2", "-b", "bttester", "-l", "auto-pts-tester"]
    print("Executing command: {}".format(' '.join(cmd)))
    RTT2PTY_PROC = subprocess.Popen(cmd, stdout=subprocess.PIPE,
                                    stderr=subprocess.PIPE, shell=False)
    # RTT2PTY_PROC = popen_and_call(
    #     cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=False)