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:
parent
646c9f1aae
commit
c525d6213c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user