X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getmetacommunitycommand.cpp;h=288e5ca2e0f84daf6f92eeba2a2b4a93943b596c;hb=60928795782d8f8648ec373d6a96b53032a77429;hp=047f176fa6be9b1c11108f0e007391dae33040c7;hpb=cbbf2f185fc7289910bb69421095c1de024c5225;p=mothur.git diff --git a/getmetacommunitycommand.cpp b/getmetacommunitycommand.cpp index 047f176..288e5ca 100644 --- a/getmetacommunitycommand.cpp +++ b/getmetacommunitycommand.cpp @@ -415,11 +415,11 @@ int GetMetaCommunityCommand::createProcesses(vector& thislo process++; }else if (pid == 0){ outputNames.clear(); - num = processDriver(thislookup, dividedPartitions[process], (outputFileName + toString(getpid())), rels[process], matrix[process], doneFlags, process); + num = processDriver(thislookup, dividedPartitions[process], (outputFileName + m->mothurGetpid(process)), rels[process], matrix[process], doneFlags, process); //pass numSeqs to parent ofstream out; - string tempFile = toString(getpid()) + ".outputNames.temp"; + string tempFile = m->mothurGetpid(process) + ".outputNames.temp"; m->openOutputFile(tempFile, out); out << num << endl; out << outputNames.size() << endl;