Bug in g_spawn_sync: win32 vs linux
- From: Tor Lillqvist <tml iki fi>
- To: "HOCHSTETLER, BRUCE W. (JSC-DV3/T) (TSI)" <bruce w hochstetler1 jsc nasa gov>
- Cc: gtk-app-devel-list gnome org
- Subject: Bug in g_spawn_sync: win32 vs linux
- Date: Wed, 10 Mar 2004 05:01:27 +0000
HOCHSTETLER, BRUCE W. (JSC-DV3/T) (TSI) writes:
#ifdef G_OS_UNIX
/* unix removes the first arg???, windows leaves it??? */
argv[i++] = gen_predict_exe;
#endif
Yeah, the G_SPAWN_FILE_AND_ARGV_ZERO flag is not implemented in
gspawn-win32.c...
I'm not sure if the GSpawnFlags is causing the problem, but it does seem
like the behavior of g_spawn_sync should be the same regardless of platform!
True. Please open a bug report on Bugzilla for it... It might be easy
to fix, perhaps even in time for 2.4.0. If not, at least a note should
be added to the doc comment in gspawn.c that
G_SPAWN_FILE_AND_ARGV_ZERO isn't implemented on Windows.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]