Definition at line 1501 of file mainIDo.cpp. References Impala::atol(), Exec(), ILOG_INFO, mNCPU, ResolveExports(), Impala::StringHead(), and Impala::StringTail(). Referenced by HandleCmd(). 01502 { 01503 ILOG_INFO("IExec " << cmdLine); 01504 String line = StringTail(cmdLine, ' ', false); 01505 String ncpuStr = StringHead(line, ' ', false); 01506 int ncpu = (ncpuStr == "${NCPU}") ? mNCPU : atol(ncpuStr); 01507 line = StringTail(line, ' ', false); 01508 String prog = StringHead(line, ' ', false); 01509 line = StringTail(line, ' ', false); 01510 01511 line = ResolveExports(line); 01512 if (!line.empty()) 01513 Exec(prog, line, ncpu); 01514 }
Here is the call graph for this function: ![]()
|