summaryrefslogtreecommitdiff
path: root/common/flatpak-run.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-11 15:14:11 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-11 15:14:11 +0200
commit3f710254970b1f6b0494c9c855dfdd44054902e1 (patch)
treee56f6c08dea924581314021fafe9b223b2d39f3e /common/flatpak-run.h
parent4f6a2d5cd7cb6eeb03e066acda97aebc7b45f979 (diff)
downloadxdg-app-3f710254970b1f6b0494c9c855dfdd44054902e1.tar.gz
run: Fix running in the background
We need to keep all the fd:s needed for bubblewrap alive, so neuter g_spawn_async:s close of fds and do our own. Also, we need this so these fds can be closed in the launching app.
Diffstat (limited to 'common/flatpak-run.h')
-rw-r--r--common/flatpak-run.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/flatpak-run.h b/common/flatpak-run.h
index 626fabd..d782bbf 100644
--- a/common/flatpak-run.h
+++ b/common/flatpak-run.h
@@ -64,6 +64,7 @@ gboolean flatpak_run_add_extension_args (GPtrArray *argv_array,
GCancellable *cancellable,
GError **error);
void flatpak_run_add_environment_args (GPtrArray *argv_array,
+ GArray *fd_array,
char ***envp_p,
GPtrArray *session_bus_proxy_argv,
GPtrArray *system_bus_proxy_argv,