Module background
source code
Check for updates in a background process. If we can start a program
immediately, but some of our information is rather old (longer that the
policy.Policy.freshness threshold) then we run it
anyway, and check for updates using a new process that runs quietly in
the background.
This avoids the need to annoy people with a 'checking for updates' box
when they're trying to run things.
|
Spawn a detached child process to check for updates.
- Parameters:
policy (policy.Policy) - policy containing interfaces to update
verbose (bool) - whether to notify the user about minor events
|