一、popen() 用途:执行shell命令(并读取其输出或向其发送一些输入) 特点:通过管道来与shell命令进行通信 二、system() 转载于:https://www.cnblogs.com/xzxl/p/8612886.html