The call to execvp() should look like execp(argv[1], &argv[1]) , since the subcommand's 0th argument must be the command name. · Tom is not waiting for the child ...
確定! 回上一頁