Hi,

i just committed this:

diff --git a/lxsession/lxsession/lxsession.c b/lxsession/lxsession/lxsession.c
index 278494f..b633868 100644
--- a/lxsession/lxsession/lxsession.c
+++ b/lxsession/lxsession/lxsession.c
@@ -132,10 +132,8 @@ GPid run_app( const char* cmd )
     {
         g_spawn_async( NULL, argv, NULL,
                 G_SPAWN_DO_NOT_REAP_CHILD|
-                G_SPAWN_SEARCH_PATH|
-                G_SPAWN_STDOUT_TO_DEV_NULL|
-                G_SPAWN_STDERR_TO_DEV_NULL,
-                NULL, NULL, &pid, NULL );
+               G_SPAWN_SEARCH_PATH,
+               NULL, NULL, &pid, NULL );
     }
     g_strfreev( argv );
     return pid;


Output of lxsession was previously written to /dev/null. Was this by
intention?

Output is now written to stdout/stderr FDs inherited by the
Login-Manager. 

I needed this to check some error output of sawfish window-manager
which is now available /var/log/slim.log.

Also other applications may output useful debug/error messages.

Jürgen

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to