Fixing pipes being prematurely deleted.
Fixing pipes being prematurely deleted.

I was removing the pipe_dir using the "at_exit" hook. Problem is, any
children process has its own copy of "at_exit" hook, what means the
first process that finishes deleted the pipe_dir >_< (yeah, pretty
stupid).

Now, it's wait for ALL process to finish, THEN it removes the pipe_dir.

VAGAScom/deadly_serious