a guest Apr 16th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- if (i != (number_commands - 1))
- printf("child %s %dn", commlist -> cmd, fd[i]);
- dup2(fd[i], STDOUT_FILENO);
- printf("child %sn", commlist -> cmd);
RAW Paste Data