摘要: 目的 开发过程中获取某个可执行文件的打印结果或者获取某个shell命令的打印结果 原理 FILE * popen ( const char * command , const char * type ); int pclose ( FILE * stream ); popen() 函数通过创建一个管 阅读全文
posted @ 2024-07-01 21:07 bbkkp 阅读(7) 评论(0) 推荐(0) 编辑