• [^] # Re: Impossible

    Posté par . En réponse au message Communication entre processus avec pipe() et dup2().. Évalué à 2.

    J'ai essayé sous FreeBSD, de mémoire, le comportement est identique.

    D'après la page man:

     The argument argv is a pointer to a null-terminated array of character
     pointers to null-terminated character strings. These strings construct
     the argument list to be made available to the new process. At least one
     argument must be present in the array; by custom, the first element
     should be the name of the executed program (for example, the last compo-
     nent of path).
    

    Cordialement.