Specifically the backtick command line finds a list of .makelist files in the subdirectories of $dir - hence the array @makelists.
What I am finding is the fork call truncates the @makelists in some cases, but repeatably in the same spot for particular directory calls.
i know this by adding a
,
just before the ProcessMakeList call.
however if i move the fork call before the backtick command the array is preserved.