• Paul Eggert's avatar
    * callproc.c: Fix race that killed background processes. · 4a88129a
    Paul Eggert authored
    (call_process): New arg TEMPFILE_INDEX.  Callers changed.
    Record deleted process-id in critical section, not afterwards.
    Don't mistakenly kill process created by a call-process invocation
    that discards output and does not wait.
    
    Fixes: debbugs:15144
    4a88129a
callproc.c 50.7 KB