[at-spi2-core: 14/32] Try the posix_spawn() code path from g_spawn_async_with_pipes_and_fds()




commit fda17a03a73da418c64f336ac921d523a707bb29
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Dec 13 11:48:13 2021 -0600

    Try the posix_spawn() code path from g_spawn_async_with_pipes_and_fds()

 bus/at-spi-bus-launcher.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c
index 77d71647..4a02c5a2 100644
--- a/bus/at-spi-bus-launcher.c
+++ b/bus/at-spi-bus-launcher.c
@@ -364,8 +364,8 @@ ensure_a11y_bus_daemon (A11yBusLauncher *app, char *config_path)
   if (!g_spawn_async_with_pipes_and_fds (NULL,
                                          (const gchar * const *) argv,
                                          NULL,
-                                         G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD,
-                                         setup_bus_child_daemon,
+                                         G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD | 
G_SPAWN_LEAVE_DESCRIPTORS_OPEN,
+                                         NULL, /* child_setup */
                                          app,
                                          -1, /* stdin_fd */
                                          -1, /* stdout_fd */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]