Re: [win32] Spawning process : Invalid argument

2008-09-21 Thread gege2061
2008/9/19 Tor Lillqvist [EMAIL PROTECTED]

 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?


No, now, it's works fine.


 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.


In the vala language, I don't have system function. And g_spawn* is simpler
for get the output of a program.

Thank's.

-- 
Nicolas Joseph

Responsable de la rubrique GTK+ de developpez.com /
In charge of the GTK+ section on developpez.com

http://nicolasj.developpez.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: [win32] Spawning process : Invalid argument

2008-09-19 Thread Tor Lillqvist
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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list