def terminal_action(parent, fn):
 action = cmd_action(parent, cmds.LaunchTerminal, (lambda : utils.select_directory(fn())), hotkeys.TERMINAL)
 return action

def terminal_action ( parent , fn ) : action = cmd_action ( parent , cmds . LaunchTerminal , ( lambda : utils . select_directory ( fn ( ) ) ) , hotkeys . TERMINAL ) return action
launch a terminal -> qaction .