Execute command in a temporary pane