• # Solution non testée....

    Posté par . En réponse au message Execution background et code de sortie. Évalué à 2.

    { commande1 > fichier1 && CODE1 = $? } &
    { commande2 > fichier2 && CODE2 = $? } &
    { commande3 > fichier3 && CODE3 = $? } &
    wait
    echo La commande1 a eu pour code de retour $CODE1
    echo La commande2 a eu pour code de retour $CODE2
    echo La commande3 a eu pour code de retour $CODE3

    Comme dit en titre, je n'ai pas testé, mais ça devrait marcher, non ?