摘要:
在linux系统下,用C++程序执行shell命令有多种方式 管道方式 #include <iostream>#include <unistd.h>#include <sys/types.h> int main(){ FILE *pp = popen("cd /xxxx && ls -l", "r" 阅读全文
posted @ 2021-11-16 17:06
DoubleLi
阅读(1642)
评论(0)
推荐(0)

浙公网安备 33010602011771号