]> git.donarmstrong.com Git - mothur.git/blobdiff - summaryqualcommand.cpp
added mothurgetpid function. fixed bug with align.seqs related to g++ 4.8 change...
[mothur.git] / summaryqualcommand.cpp
index 56a6fcb099818b4590e80bff0639193b9bf65767..3dc6582f93f6654c41b14c0da5739348d023b11b 100644 (file)
@@ -347,7 +347,7 @@ int SummaryQualCommand::createProcessesCreateSummary(vector<int>& position, vect
                                
                                //pass numSeqs to parent
                                ofstream out;
-                               string tempFile = qualfile + toString(getpid()) + ".num.temp";
+                               string tempFile = qualfile + m->mothurGetpid(process) + ".num.temp";
                                m->openOutputFile(tempFile, out);
                                
                                out << numSeqs << endl;