]> git.donarmstrong.com Git - mothur.git/blobdiff - makefastqcommand.cpp
rewrote metastats command in c++, added mothurRemove function to handle ~ error....
[mothur.git] / makefastqcommand.cpp
index 82f730159c000888e544308ddfb58289a3363fc2..8e1a7f52882fe1cf8e3b12a60538915306dacb46 100644 (file)
@@ -181,7 +181,7 @@ int MakeFastQCommand::execute(){
                qFile.close();
                out.close();
                
-               if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) {        remove(outputNames[i].c_str()); } return 0; }
+               if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) {        m->mothurRemove(outputNames[i]); } return 0; }
                
                m->mothurOutEndLine();
                m->mothurOut("Output File Names: "); m->mothurOutEndLine();