]> git.donarmstrong.com Git - mothur.git/blobdiff - sparcccommand.cpp
added mothurgetpid function. fixed bug with align.seqs related to g++ 4.8 change...
[mothur.git] / sparcccommand.cpp
index 4c9049a8ebf6247a5be965f21317aba881e82e51..f4d08df2698cd0f01c8abae416c1b8f934761094 100644 (file)
@@ -437,7 +437,7 @@ vector<vector<float> > SparccCommand::createProcesses(vector<vector<float> >& sh
                                        
                                        //pass pvalues to parent
                                        ofstream out;
-                                       string tempFile = toString(getpid()) + ".pvalues.temp";
+                                       string tempFile = m->mothurGetpid(process) + ".pvalues.temp";
                                        m->openOutputFile(tempFile, out);
                                        
                                        //pass values