Glib::spawn on Windows



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)

Thanks in advance...
P.F.Smorigo


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