When the action is to execute cmds, it try to type and execute the cmds in the current terminal which is running the agent_s2.