hide console when autostarting dbus-daemon (cherry picked from commit 27fad960837b54b...
authorRalf Habacker <Ralf.Habacker@freenet.de>
Mon, 24 Dec 2007 08:42:31 +0000 (08:42 +0000)
committerunknown <Administrator@.(none)>
Sun, 29 Nov 2009 18:35:34 +0000 (19:35 +0100)
dbus/dbus-sysdeps-win.c

index 358d151..3634a71 100644 (file)
@@ -3033,7 +3033,7 @@ _dbus_get_autolaunch_address (DBusString *address,
 
 //  argv[i] = "--config-file=bus\\session.conf";
   printf("create process \"%s\" %s\n", dbus_exe_path, dbus_args);
-  if(CreateProcessA(dbus_exe_path, dbus_args, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi))
+  if(CreateProcessA(dbus_exe_path, dbus_args, NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, NULL, &si, &pi))
     {
       retval = TRUE;