Re: Adding a new GSpawnFlags flag?



Owen Taylor writes:
 > 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

 >  - I'm not sure I understand when you would want to use this flag.

Well, it was mostly theoretical pondering, I don't have any particular
program in mind that I would know needs to be started in this way.

And anyway, GLib-using software that would know to use such a new flag
would obviously have such intimate knowledge of the program it is
starting, and know that it is running on Win32, that it could as well
call spawn*(), CreateProcess(), ShellExecute() or whatever directly.

--tml





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]