#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include <errno.h>#include "TInterpreter.h"#include "TROOT.h"#include "TApplication.h"#include "TPluginManager.h"#include "TSystem.h"#include "TString.h"Go to the source code of this file.
Functions | |
| static Int_t | MakeCleanupScript (Int_t loglevel) |
| static FILE * | RedirectOutput (TString &logfile, const char *loc) |
| int | main (int argc, char **argv) |
Variables | |
| static const char * | gAppName = "roots" |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 37 of file roots.cxx.
References TString::Atoi(), TString::BeginsWith(), TString::Data(), TSystem::Exit(), TPluginManager::FindHandler(), fprintf(), gAppName, TROOT::GetPluginManager(), gInterpreter, gROOT, gSystem, h, TSystem::HostName(), i, MakeCleanupScript(), RedirectOutput(), TString::ReplaceAll(), TApplication::Run(), and TROOT::SetBatch().
Definition at line 160 of file roots.cxx.
References cleanup(), fc, fclose(), fopen, Form(), fprintf(), gAppName, TSystem::Getenv(), TSystem::GetPid(), TSystem::GetUid(), gSystem, TSystem::HostName(), S_IRUSR, S_IWUSR, S_IXUSR, TSystem::TempDirectory(), and unlink.
Referenced by main().
| FILE * RedirectOutput | ( | TString & | logfile, | |
| const char * | loc | |||
| ) | [static] |
Definition at line 114 of file roots.cxx.
References TString::Data(), flog, fopen, Form(), fprintf(), TSystem::GetPid(), TSystem::GetUid(), gSystem, and TSystem::TempDirectory().
const char* gAppName = "roots" [static] |
1.5.1