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