Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7320 in orxonox.OLD for trunk/src/lib/shell


Ignore:
Timestamp:
Apr 17, 2006, 1:12:25 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more cleanup stuff, subString slowly gets where i want it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_command.cc

    r7319 r7320  
    184184            {
    185185
    186               (*alias)->getCommand()->executor->execute(objectList->front(), executionString.substr(inputSplits.getOffset(1))); /// TODO CHECK IF OK
     186              (*alias)->getCommand()->executor->execute(objectList->front(), inputSplits.getSubSet(1).join()); /// TODO CHECK IF OK
    187187            }
    188188            else
     
    241241              return false;
    242242            if (inputSplits.size() > fktPos+1)
    243               (*cmdIT)->executor->execute(objectPointer, executionString.substr(inputSplits.getOffset(fktPos +1))); /// TODO CHECK IF OK
     243              (*cmdIT)->executor->execute(objectPointer, inputSplits.getSubSet(2).join()); /// TODO CHECK IF OK
    244244            else
    245245              (*cmdIT)->executor->execute(objectPointer, "");
Note: See TracChangeset for help on using the changeset viewer.