[glib/wip/pwithnall/freebsd-spawn-fix] WIP




commit 72fd906a2cac8f79f33d7a7b6eb13b71000fac70
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Feb 16 14:50:18 2021 +0000

    WIP
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 glib/gspawn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gspawn.c b/glib/gspawn.c
index 95f5b868e..e185bfb9b 100644
--- a/glib/gspawn.c
+++ b/glib/gspawn.c
@@ -2560,7 +2560,7 @@ g_execute (const gchar  *file,
         execve (file, argv, envp);
       else
         execv (file, argv);
-      
+      g_message ("exec of %s failed: %d", file, errno);
       if (errno == ENOEXEC &&
           !script_execute (file, argv, argv_buffer, argv_buffer_len, envp))
         {


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