gspawn: Stop spewing debug messages

My GTK testlogs are filled with

GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead

Lets take the hint, and migrate to using O_CLOEXEC.
This commit is contained in:
Matthias Clasen 2023-11-27 16:46:31 -05:00
parent 20400bc503
commit f79c53f953

View File

@ -2308,7 +2308,7 @@ fork_exec (gboolean intermediate_child,
GPid pid = -1;
GUnixPipe child_err_report_pipe = G_UNIX_PIPE_INIT;
GUnixPipe child_pid_report_pipe = G_UNIX_PIPE_INIT;
guint pipe_flags = cloexec_pipes ? FD_CLOEXEC : 0;
guint pipe_flags = cloexec_pipes ? O_CLOEXEC : 0;
gint status;
const gchar *chosen_search_path;
gchar *search_path_buffer = NULL;