Changeset 108 for MEMPHYS


Ignore:
Timestamp:
Jan 25, 2006, 4:15:00 PM (18 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • MEMPHYS/HEAD/applications/MEMPHYS_session.cxx

    r83 r108  
    139139  std::string gui = "$MEMPHYSROOT/scripts/OnX/MEMPHYS_session.onx";
    140140  G4Lab::UIOnX* session = new G4Lab::UIOnX(*runManager,gui,aArgc,aArgv);
     141  if(!session->isValid()) {
     142    std::cout << "MEMPHYS_session : problem starting OnX." << std::endl;
     143    return EXIT_FAILURE;
     144  }
    141145
    142146  MEMPHYS::AppManager* appManager = 0;
     
    205209  delete runManager;
    206210
    207   return 0;
     211  return EXIT_SUCCESS;
    208212}
    209213
Note: See TracChangeset for help on using the changeset viewer.