- wxLogNull nolog;
-
- //first try to connect assuming server is running
- if( !isconn_1 )
- m_connection = (rhhcConnection *)m_client->MakeConnection(hostName, m_service, wxT("HELP") );
-
- //if not, start server
- if( !isconn_1 ) {
-
- wxString stylestr;
- stylestr.Printf( wxT("--Style%d"), m_style );
-
- cmd = m_appname + blank + m_service + blank + m_windowname + blank + m_book + blank + stylestr;
-
- m_process = new wxProcess(NULL);
- m_pid = wxExecute( cmd, FALSE, m_process );
- // leaks - wxExecute itself (if not deleted) and in wxExecute at
- // wxExecuteData *data = new wxExecuteData;
- if( m_pid <= 0 ) {
- wxLogError( wxT("wxRemoteHtmlHelpController - Failed to start Help server") );
- return FALSE;
- }
+ wxLogNull nolog;
+
+ //first try to connect assuming server is running
+ if( !isconn_1 )
+ m_connection = (rhhcConnection *)m_client->MakeConnection(hostName, m_service, wxT("HELP") );
+
+ //if not, start server
+ if( !isconn_1 ) {
+
+ wxString stylestr;
+ stylestr.Printf( wxT("--Style%d"), m_style );
+
+ cmd = m_appname + blank + m_service + blank + m_windowname + blank + m_book + blank + stylestr;
+
+ m_process = new wxProcess(NULL);
+ m_pid = wxExecute( cmd, false, m_process );
+ // leaks - wxExecute itself (if not deleted) and in wxExecute at
+ // wxExecuteData *data = new wxExecuteData;
+ if( m_pid <= 0 ) {
+ wxLogError( wxT("wxRemoteHtmlHelpController - Failed to start Help server") );
+ return false;
+ }