Hello all,
I want to invoke a browser from my project to display the documentation of my project.
what i am using is
system("firefox xyz.html")
system("firefox xyz.html")
To copy to clipboard, switch view to plain text mode
This is giving me trouble. If the user doesn't have that browser, how can he view the documentation. So i tried this way
if ( system ("firefox xyz.html" ) )
{
if ( system ("konqueror xyz.html" ) )
{
.
.
if ( system ("firefox xyz.html" ) )
{
if ( system ("konqueror xyz.html" ) )
{
.
.
To copy to clipboard, switch view to plain text mode
this worked fine. But i didn't noticed on that time that we cannot access the project and the browser simultaneously. we can access my project only after closing the browser.
so what i thought was, i can run in the background.
if ( system ("firefox xyz.html &" ) )
{
if ( system ("konqueror xyz.html &" ) )
{
.
.
if ( system ("firefox xyz.html &" ) )
{
if ( system ("konqueror xyz.html &" ) )
{
.
.
To copy to clipboard, switch view to plain text mode
but this lead to another problem. If the first browser is not present, then its ok. If it is there, then the next browser also opened along with the first one.
I dont know how to tackle this....
please help
Deepu
Bookmarks