def set_pane_path(pane_idstr, path):
    """ set pane path by 'send-key' and clear the screen"""
    cmd = (CMD_SET_PANE_PATH % (pane_idstr,path)).split(config.CMD_SEP)
    util.exec_cmd(cmd)
    #clear history
    cmd = (CMD_CLEAR_PANE%(pane_idstr)).split(config.CMD_SEP)
    util.exec_cmd(cmd)
dataset/ETHPy150Open sk1418/retmux/tmuxbk/cmd.py/set_pane_path/original