qubes-session-autostart: do not wait for applications exit

Since fixing QubesOS/qubes-issues#3213, launch function correctly waits
for some applications exit. This is undesirable for
qubes-session-autostart service, which should just start the
applications and exit.
This commit is contained in:
Marek Marczykowski-Górecki 2018-04-02 23:17:14 +02:00
parent 646c9f1aae
commit c525d6213c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -76,7 +76,7 @@ def process_autostart(environments):
else: else:
entry = DesktopEntry(entry_path) entry = DesktopEntry(entry_path)
if entry_should_be_started(entry, environments): if entry_should_be_started(entry, environments):
launch(entry_path) launch(entry_path, wait=False)
except Exception as e: except Exception as e:
print >>sys.stderr, "Failed to process '{}': {}".format( print >>sys.stderr, "Failed to process '{}': {}".format(
entry_name, str(e) entry_name, str(e)