Changeset 1438 for code/branches/console/src/core/TclBind.cc
- Timestamp:
- May 27, 2008, 4:30:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/core/TclBind.cc
r1416 r1438 110 110 111 111 if (!CommandExecutor::execute(command, false)) 112 { 112 113 COUT(1) << "Error: Can't execute command \"" << command << "\"!" << std::endl; 114 } 113 115 114 116 if (CommandExecutor::getLastEvaluation().hasReturnvalue()) … … 124 126 125 127 if (!CommandExecutor::execute(command, false)) 128 { 126 129 COUT(1) << "Error: Can't execute command \"" << command << "\"!" << std::endl; 130 } 127 131 } 128 132 … … 133 137 std::string output = TclBind::getInstance().interpreter_->eval(tclcode); 134 138 if (output != "") 139 { 135 140 COUT(0) << "tcl> " << output << std::endl; 141 } 136 142 return output; 137 143 }
Note: See TracChangeset
for help on using the changeset viewer.