/***********************************************************************/
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;
return nextCommand;
#endif
- #endif
+
}
catch(exception& e) {