Re: [win32] Spawning process : Invalid argument



Do you have gspawn-win32-helper.exe and
gspawn-win32-helper-console.exe in your PATH, or in the "bin" folder
under your GLib installation directory?

Try running the program with the environment variable
G_SPAWN_WIN32_DEBUG set to some value and you will see debugging
information printed to stdout that might help you.

There is little reason to insist on using the g_spawn*() API in cases
where a standard system() should work just as well, and be simpler.

--tml



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