RE: [ROOT] How do we exit from an application ....?

From: Valeri Fine (fine@bnl.gov)
Date: Tue Aug 26 2003 - 20:10:39 MEST


Hello,

Please indicate the platform and version of your ROOT version.

            Valeri

> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]
> On Behalf Of zaldy
> Sent: Tuesday, August 26, 2003 12:34 PM
> To: roottalk@pcroot.cern.ch
> Subject: [ROOT] How do we exit from an application ....?
> 
> 
> Dear ROOters,
> 
> How do we exit from an application?
> Is the method
> 
> 
> int main()
> {
>   theApp->Run();
>   theApp->Terminate()
>   ....
>   return 0;
> }
> enough?
> 
> 
> I tried this but it seems that I always have to the "Ctlr + C" in
order to
> end the application.
> 
> 
> 
> PS Root 3.05/05 gcc 3.2.2 RedHat 9
> --
> 
> --------------------------------------------------------
>                    Zaldy A. Nawang
>                    PS Users Room 2
>                    Yon Gokan,
>                    E362, Neutrino Group,
>                    IPNS, KEK,
>                    Japan
> 
>                    e-mail: zaldy@neutrino.kek.jp
>                    Tel. No. : (81) 029864 - 5387
> --------------------------------------------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET