]> git.donarmstrong.com Git - mothur.git/blobdiff - rarefact.cpp
added mothurgetpid function. fixed bug with align.seqs related to g++ 4.8 change...
[mothur.git] / rarefact.cpp
index 0454d9e253473b368af34f35021dabbc4a50ae1b..039cde9b9affb15da629fb2fc6a8f3162e470c20 100644 (file)
@@ -133,7 +133,7 @@ int Rarefact::createProcesses(vector<int>& procIters, RarefactionCurveData* rcd,
                        
                                //pass numSeqs to parent
                                for(int i=0;i<displays.size();i++){
-                                       string tempFile = toString(getpid()) + toString(i) + ".rarefact.temp";
+                                       string tempFile = m->mothurGetpid(process) + toString(i) + ".rarefact.temp";
                                        displays[i]->outputTempFiles(tempFile);
                                }
                                exit(0);