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
config.Config.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:
driver (driver.Driver) - driver containing interfaces to update
verbose (bool) - whether to notify the user about minor events
Since:
1.5 (used to take a Policy)
|
spawn_background_update2(requirements,
verbose,
app=None)
| source code
|
Spawn a detached child process to check for updates.
- Parameters:
requirements (requirements.Requirements) - requirements for the new selections
verbose (bool) - whether to notify the user about minor events
app (apps.App | None) - application to update (if any)
|