Re: Adding a new GSpawnFlags flag?
- From: Owen Taylor <otaylor redhat com>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-devel-list gnome org
- Subject: Re: Adding a new GSpawnFlags flag?
- Date: Tue, 21 Jan 2003 14:36:22 -0500 (EST)
Tor Lillqvist <tml iki fi> writes:
> Would it be OK to add a new Win32-specific GSpawnFlags flag, say
> G_SPAWN_WIN32_NO_QUOTING? Discussion in the comments for bug #104014.
As I understand, the proposal is, that unless this flag is added,
g_spawn_*() would add quoting so that when the Microsoft C runtime
reconstructed the argv from the command line, it got the same argv
as that passed
When this flag was added, GLib would simply concatenate the arguments
together with spaces to get the command line?
Thoughts:
- Any API addition would, of course, be HEAD only.
- I'm not sure I understand when you would want to use this flag.
It seems to me that the only time it would be useful is if
you had a program that:
A) Can handle arguments with embedded spaces, tabs, and
quote characters
B) Follows quoting conventions that are different from
Microsoft's quoting conventions yet known to the
caller.
This seems like an unlikely state of affairs for a win32
program.
(I seem to remember that Cygwin has some special
hacky argv passing mechanism when calling another Cygwin
program to deal with command line length limitations.)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]