Changeset 7419 in orxonox.OLD for trunk/src/lib/shell
- Timestamp:
- Apr 28, 2006, 11:47:44 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.cc
r7418 r7419 283 283 SubString inputSplits(executionString, SubString::WhiteSpacesWithComma); 284 284 285 286 285 // if we do not have any input return 287 286 if (inputSplits.empty()) 288 287 return false; 288 289 unsigned int paramBegin; 290 const ShellCommand* sc; 291 std::vector<BaseObject*> boList; 292 sc = getCommandFromInput(inputSplits, paramBegin, &boList); 293 if (sc != NULL) 294 { 295 PRINT(0)("Command %s on ", sc->getName()); 296 for(std::vector<BaseObject*>::const_iterator bo = boList.begin(); bo != boList.end(); ++bo) 297 PRINT(0)("%s::%s\n", (*bo)->getClassName(), (*bo)->getName()); 298 } 289 299 290 300 // if we only have one input (!MUST BE AN ALIAS)
Note: See TracChangeset
for help on using the changeset viewer.