Project

General

Profile

« Previous | Next » 

Revision 7276

import_all: Output the PIDs of the import_scrub and after_import processes, so those processes can be managed without shell job control. This is useful if the connection is lost to the remote shell running the import, which prevents using job control on the import processes.

View differences:

import_all
48 48
    }
49 49
    
50 50
    local jobs="$(jobs -p)"
51
    echo "import_scrub PIDs: $jobs" >&2
51 52
    (bin/waitpid $jobs; after_import) &
53
    echo "after_import PID: $!" >&2
52 54
    
53 55
    . bin/disown_all
54 56
}

Also available in: Unified diff