From aa8157c2b7f2f8d08846f294684dbed69c115eed Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 16 Mar 2010 15:52:27 +0100 Subject: [PATCH 5/9] Windows CE has a different understanding of "command line" from Windows. --- dbus/dbus-spawn-win.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dbus/dbus-spawn-win.c b/dbus/dbus-spawn-win.c index 6c89179..448bb0c 100644 --- a/dbus/dbus-spawn-win.c +++ b/dbus/dbus-spawn-win.c @@ -509,7 +509,11 @@ spawn_program (const char* name, char** argv, char** envp) char *arg_string; BOOL result; +#ifdef DBUS_WINCE + arg_string = build_commandline (argv + 1); +#else arg_string = build_commandline (argv); +#endif if (!arg_string) return INVALID_HANDLE_VALUE; -- 1.6.3.3