X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=engine.cpp;h=9e5801b1b057b2f2a1cc4a986e105ae3e73f14b5;hb=5c80ce8b80938d41cf6c64a017fa6fd50d45de5b;hp=b68bf61e4703fbd77133f8ba72c8488a78519d29;hpb=62cdb3eb996664abdb8fee21bf4a329cd0694867;p=mothur.git diff --git a/engine.cpp b/engine.cpp index b68bf61..9e5801b 100644 --- a/engine.cpp +++ b/engine.cpp @@ -99,15 +99,6 @@ bool InteractEngine::getInput(){ /***********************************************************************/ string Engine::getCommand() { try { - #ifdef USE_MPI //mpirun doesn't work with readline - string nextCommand = ""; - - mout->mothurOut("mothur > "); - getline(cin, nextCommand); - mout->mothurOutJustToLog(toString(nextCommand)); - - return nextCommand; - #else #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) #ifdef USE_READLINE char* nextCommand = NULL; @@ -138,7 +129,7 @@ string Engine::getCommand() { return nextCommand; #endif - #endif + } catch(exception& e) {