Re: Glib::spawn on Windows



On Tue, 2008-08-26 at 10:30 -0300, Paulo Flabiano Smorigo wrote:
> Hi everybody,
> 
> I'm trying to execute a program in my application using the Glib
> Spawning Proccess library.
> On linux works perfect but on windows I get a "No such file or
> directory" error.
> 
> The command is:
> Glib::spawn_command_line_async("c:\\windows\\NOTEPAD.EXE");
> 
> And the error on Windows is:
> (player.exe:1568): glibmm-CRITICAL **:
> unhandled exception (type Glib::Error) in signal handler:
> domain: g-exec-error-quark
> code  : 19
> what  : Failed on execute an auxiliary program (No such file or
> directory)

Asynchronous spawning needs a helper program on Windows, called
gspawn-win32-helper.exe. This is not found on your system. Where did you
install glib from? It should be included in the official glib binary
packages from ftp.gnome.org.

> Thanks in advance...
> P.F.Smorigo

Armin

> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list



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