首页标签Linux的sysytem
  • Linux使用system()获取执行结果

    includeincludeincludeincludestaticintgetResultFromSystemCall(constcharpCmd,charpResult,intsize){ intfd; if(pipe(fd)){  printf("pipeerror!\n");  return-1;  }&nbs…
友情链接