On Mon, 2023-03-27 at 20:06 +0200, Omar Polo wrote: Hello, thank you for your correction.
> > if (dup2(s[1], STDERR_FILENO) == -1) > - _exit(1); > - if (path == NULL) > _exit(1); But, I think the condition that path is NULL should not be removed, because `pipeio' looks like a common function, so maby called in others code, checking the path is NULL is a safe check.