digitalmars.D.learn - memory de-allocation?

Given:
void main () {
system("rdmd prog_one.d");
//... output from prog_one
system("rdmd prog_two.d");
//... output again from prog_one and new output from prog_two.
}
Any suggestions for getting rid of the ghost of prog_one?

Given:
void main () {
system("rdmd prog_one.d");
//... output from prog_one
system("rdmd prog_two.d");
//... output again from prog_one and new output from prog_two.
}
Any suggestions for getting rid of the ghost of prog_one?

After more testing, I think this problem relates to processing
over nfs, so network latency might be the issue. Maybe a buffer
is not getting cleared quick enough.