use real PID of executing process; remove entire directory when finished executing