create a new xterm window and run some command, after the command executed, keep the window. xterm -hold -e "cmd"