forked from Mirror/pmbootstrap
pmbootstrap: kill process if silent for 5 minutes (rewrite logging)
This commit is contained in:
parent
a9f149153a
commit
8268dc0e3d
31 changed files with 544 additions and 192 deletions
|
@ -295,8 +295,8 @@ def run(args):
|
|||
process = None
|
||||
try:
|
||||
signal.signal(signal.SIGTERM, sigterm_handler)
|
||||
process = pmb.helpers.run.user(args, qemu,
|
||||
background=spice_enabled, env=env)
|
||||
output = "background" if spice_enabled else "interactive"
|
||||
process = pmb.helpers.run.user(args, qemu, output=output, env=env)
|
||||
if spice:
|
||||
pmb.helpers.run.user(args, spice, env=env)
|
||||
except KeyboardInterrupt:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue