参考资料:实验4-进程控制实验
#include <unistd.h>
pid_t fork(void) // 创建子进程
int execl(const char *pathname, const char *arg0, .../*(char*)0*/) 、、 进程中执行另外一个可执行文件
#include <sys/wait.h>
pid_t waitpid(pid_t pid, int *statloc, int options) // 等待子进程执行结束
fork()
exec系列函数