core-agent-linux/qubesagent
Marek Marczykowski-Górecki 321cd06591
Fix waiting for application exit in qubesagent.xdg.launch
This is especially important for qubes-desktop-run used inside DispVM.
The DesktopAppInfo.launch() method returns after just launching the
application. In DispVM case it worked by a coincidence - because the
launched application was keeping stdin/out open, which also prevented
DispVM killing. Use DesktopAppInfo.launch_uris_as_manager which at least
allows to learn PIDs of spawned processes, to track them manually.

This still doesn't fix gnome-terminal issue, or any other application
using either DBus activation, or any other client-server model. But at
least fix basic apps like firefox and xterm.

Fixes QubesOS/qubes-issues#3213
2018-04-02 23:19:02 +02:00
..
__init__.py network: rewrite qubes-firewall daemon 2016-09-12 05:22:53 +02:00
firewall.py Add /etc/qubes path 2018-02-13 23:39:28 -05:00
test_firewall.py tests: check if qubes-firewall-user-script is called 2018-02-05 18:17:29 +01:00
xdg.py Fix waiting for application exit in qubesagent.xdg.launch 2018-04-02 23:19:02 +02:00