• Rémi Denis-Courmont's avatar
    - <unistd.h> is needed for fork and execl · 9457d547
    Rémi Denis-Courmont authored
    - use execlp instead of execl
    - perform process replacement in the child process, not the parent
    - wait for process termination (to avoid zombies)
    - do not return value from void function
    - more verbose
    9457d547
externrun.c 11 KB