void Address::ExecuteBrowser(const String& cUrl) { int nError=0; if (fork() == 0) { set_thread_priority( -1, 0 ); nError = execlp("/Applications/Webster/Webster","/Applications/Webster/Webster",cUrl.c_str(),NULL); } if (nError == -1) { if (errno == ENOENT) { Alert* pcAlert = new Alert("Address...","Could not find Webster browser.",m_pcIcon->LockBitmap(),0,"_OK",NULL); m_pcIcon->UnlockBitmap(); pcAlert->CenterInScreen(); pcAlert->Go(new Invoker()); } else { Alert* pcAlert = new Alert("Address...","Error launching Webster browser.",m_pcIcon->LockBitmap(),0,"_OK",NULL); m_pcIcon->UnlockBitmap(); pcAlert->CenterInScreen(); pcAlert->Go(new Invoker()); } } }