print shell stuff

This commit is contained in:
Eliot Horowitz
2009-05-14 17:37:21 -04:00
parent 87cd9dac9f
commit 6a06a6cb3c
4 changed files with 26 additions and 6 deletions

View File

@@ -318,7 +318,8 @@ int main(int argc, char* argv[]) {
}
*/
scope->exec( code.c_str() , "(shell)" , true , true , false);
scope->setString( "__line__" , code.c_str() );
scope->exec( "execShellLine()" , "(shell)" , true , true , false);
shellHistoryAdd( line );