in sdw_updater/Updater.py [0:0]
def _start_qubes_updater_proc(templates):
update_cmd = [
"qubes-vm-update",
"--apply-to-all", # Enforce app qube restarts
"--force-update", # Bypass Qubes' staleness-dection and update all
"--show-output", # Update transaction details (goes to stdout)
"--just-print-progress", # Progress reporting (goes to stderr)
"--targets",
",".join(templates),
]
detail_log.info("Starting Qubes Updater with command: {}".format(" ".join(update_cmd)))
return subprocess.Popen(
update_cmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)