Definition at line 2537 of file mainIDo.cpp. References AskUserPermission(), and ILOG_ERROR. Referenced by CheckCall(), CleanCall(), DoSystem(), Exec(), Exec2(), MapExec(), RepositoryExec(), and StageCall(). 02538 { 02539 if (!AskUserPermission(cmdLine)) 02540 return; 02541 02542 char* sysBuf = new char[cmdLine.size() + 100]; 02543 sprintf(sysBuf, "%s", cmdLine.c_str()); 02544 int sysRes = system(sysBuf); 02545 if (sysRes != 0) 02546 { 02547 ILOG_ERROR("system call failed: [" << sysBuf << "]"); 02548 } 02549 delete sysBuf; 02550 }
Here is the call graph for this function: ![]()
|