Hi,
I am not sur but you can try to add '&' at end of command like this :
int main()
{
system ("/usr/bin/firefox --no-remote
file:///home/ananas/UsageGUIUnit/index.html & ");
std::cout << "end" << std::endl;
}
Good luck.
Tchao Tchao.
-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Evgeny Rippi
Envoyé : mercredi 25 octobre 2006 14:33
À : [email protected]
Objet : Error when firefox runs from application:
(firefox-bin:15068):Gdk-WARNING **: gdk_property_get():
Hello,
I start "firefox" from my application by using system() call.
This is a simple example of my case:
int main()
{
system ("/usr/bin/firefox file:///home/ananas/UsageGUIUnit/index.html");
std::cout << "end" << std::endl;
}
Sometimes I get no error in the console, the browser starts and my application
terminates with "end" in the console and the browser remains running.
But at the most I get the following error:
(firefox-bin:15068): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)
And my application dosen't terminate in this case. It suspends at the
system() point.
How to solve it? I need to start firefox (or mozilla) from my application (that
is using gtkmm) without suspending on the point of
system() call.
Please, give me advises and ideas.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list