execvp使用--实现自己的shell_execvp执行脚本-CSDN博客

网站介绍:#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/wait.h>#include <unistd.h>#include <string.h>#include <glob.h>static int parse(char *linebuf, glob_t *glob_res){ char *tok = "a._execvp执行脚本