//cout << pid << " is in execute " << commandName << endl;
#endif
//executes valid command
+ mout->runParse = true;
+ mout->Groups.clear();
+ mout->namesOfGroups.clear();
+ mout->Treenames.clear();
+ mout->names.clear();
+ mout->saveNextLabel = "";
+
Command* command = cFactory->getCommand(commandName, options);
quitCommandCalled = command->execute();
if ((cFactory->MPIEnabled(commandName)) || (pid == 0)) {
#endif
//executes valid command
+ mout->runParse = true;
+ mout->Groups.clear();
+ mout->namesOfGroups.clear();
+ mout->Treenames.clear();
+ mout->names.clear();
+ mout->saveNextLabel = "";
+
Command* command = cFactory->getCommand(commandName, options);
quitCommandCalled = command->execute();
if (input == "") { input = "quit()"; }
- mout->mothurOutEndLine();
- mout->mothurOut("mothur > " + input);
- mout->mothurOutEndLine();
+ if ((!mout->gui) || (input != "quit()")) {
+ mout->mothurOutEndLine();
+ mout->mothurOut("mothur > " + input);
+ mout->mothurOutEndLine();
+ }
#ifdef USE_MPI
//send commandName
//cout << pid << " is in execute" << endl;
#endif
//executes valid command
+ mout->runParse = true;
+ mout->Groups.clear();
+ mout->namesOfGroups.clear();
+ mout->Treenames.clear();
+ mout->names.clear();
+ mout->saveNextLabel = "";
+
Command* command = cFactory->getCommand(commandName, options);
quitCommandCalled = command->execute();