fixed fork-exit pid storing bug
Merge branch 'flush-branch' of https://github.com/willxie/comp_421 into flush-branch