Project

General

Profile

« Previous | Next » 

Revision 14088

bugfix: bin/with_all, import_all: don't disown processes because they should be auto-killed if the shell is (disown was only needed before we used screen)

View differences:

trunk/bin/with_all
23 23
    
24 24
    for input in "${inputs[@]}"; do
25 25
        eval "yes|make ${input}$* &"
26
        disown -h "$(jobs|tail -1|"$selfDir/jobspecs")" # ignore SIGHUP
26
        # don't disown so that it will be auto-killed if the shell is
27 27
        sleep 2 # wait for initial output so that outputs don't become jumbled
28 28
    done
29 29
}
trunk/bin/import_all
69 69
    bin/after_import $jobs &
70 70
    echo "after_import PID: $!" >&2
71 71
    
72
    . bin/disown_all
73
    
74 72
    popd
75 73
    delete_logs # manually run b/c `trap EXIT` doesn't run until *shell* exit
76 74
}

Also available in: Unified diff