Revision 7228
Added by Aaron Marcuse-Kubitza almost 12 years ago
import_all | ||
---|---|---|
52 | 52 |
|
53 | 53 |
local jobs="$(jobs -p)" |
54 | 54 |
(bin/waitpid $jobs; after_import) & |
55 |
|
|
56 |
. bin/disown_all |
|
55 | 57 |
} |
56 | 58 |
import_all_main "$@" |
Also available in: Unified diff
import_all: Run disown_all after background processes have been created, so that they will not be aborted if the shell exits (e.g. due to a broken connection). Note that with_all processes are automatically disowned as they are created, but other processes, such as after_import, were not.