在终端上,按 Ctrl+D linux下产生EOF输出, Ctrl+Z Windows下产生EOF输出, Ctrl+C Windows下关闭窗口。 转载于:https://www.cnblogs.com/rebeccaYan/p/3374990.html