Changeset 5200 in orxonox.OLD for trunk/src/lib/shell
- Timestamp:
- Sep 18, 2005, 3:49:21 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.cc
r5199 r5200 378 378 * @return true on success, false otherwise. 379 379 */ 380 #include "stdlibincl.h" 380 381 bool ShellCommandBase::execute(const char* executionString) 381 382 { … … 395 396 if (inputSplits.getCount() == 0) 396 397 return false; 397 // CHECK FOR ALIAS398 398 if (inputSplits.getCount() >= 1) 399 399 { 400 // CHECK FOR ALIAS 400 401 if (ShellCommandClass::aliasList != NULL) 401 402 { … … 410 411 if (objectList != NULL) 411 412 { 412 elemAL->getCommand()->executeCommand(objectList->firstElement(), ""); 413 elemAL->getCommand()->executeCommand(objectList->firstElement(), executionString+inputSplits.getOffset(1)); 414 delete itAL; 413 415 return true; 414 416 } … … 418 420 delete itAL; 419 421 } 422 420 423 } 421 424
Note: See TracChangeset
for help on using the changeset viewer.