]> git.donarmstrong.com Git - mothur.git/blobdiff - bellerophon.cpp
added mothurgetpid function. fixed bug with align.seqs related to g++ 4.8 change...
[mothur.git] / bellerophon.cpp
index 833cfb907d6d4bd2aed8acb3d8522932ac3b2e7d..013c4dd7e6dd4d704964a6d4c308885733469a1d 100644 (file)
@@ -370,7 +370,7 @@ int Bellerophon::createProcesses(vector<int> mid) {
                                process++;
                        }else if (pid == 0){
                                exitCommand = driverChimeras(mid, lines[process]);
-                               string tempOut = outputDir + toString(getpid()) + ".temp";
+                               string tempOut = outputDir + toString(m->mothurGetpid(process)) + ".temp";
                                writePrefs(tempOut, lines[process]);
                                exit(0);
                        }else {