Re: [gtkmm] Trouble spawning a process
- From: Quan Nguyen <friday_morning yahoo com>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Trouble spawning a process
- Date: Thu, 18 Dec 2003 08:08:32 -0800 (PST)
Thanks for your help, but it still does not work. I
tried it on Linux and it works perfectly, but it still
will not work on Windows. Furthermore, I tried to
catch the exception in Windows, but I can't figure out
how to catch the spawning exceptions of GTK. Any
suggestions?
Here's what I tried:
try
{
Glib::spawn_async(".\\", filename_arg);
}
catch (Glib::SpawnError& ex)
{
cout << ex.code() << endl;
cout << "something went wrong!" << endl;
system("PAUSE");
}
--- Anastasios Bassoukos <abas aix meng auth gr>
wrote:
>
> I think that you may want either
> Glib::spawn_async(path, filename_arg);
> or
> Glib::spawn_async(path,
> filename_arg,Glib::SPAWN_SEARCH_PATH);
>
> Not that I'd have anything to do with Windows
> programming .....
>
> HTH,
> Tassos
>
>
> --
> Beware of he who would deny you access to
> information, for in his
> heart he dreams himself your master."
> -- Commissioner Pravin Lal, Sid Meier's Alpha
> Centauri
>
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]