48 char* c = (
char*) file.c_str();
50 G4int fd = ::open(c, O_RDONLY);
67 std::string cmd =
"cp " + srcFile +
" " + dstFile;
75 std::string cmd =
"rm " + option +
" " + file;
G4int CopyFile(const G4String &srcFile, const G4String &dstFile)
G4bool FileExists(const G4String &file)
G4int DeleteFile(const G4String &file, const G4String &option)
G4int Shell(const G4String &str)