//delete filename;
if (pid == 0) { //you are the root process
-
+
//do your part
string outputMyPart;
remove(outputFile.c_str()); //temp file is bad because file mismatch above
}
+ return good;
+
}
catch(exception& e) {
m->errorOut(e, "DistanceCommand", "sanityCheck");