> Consider this use case: I have a test program which executes some unit tests, it creates some temporary files. I want the temporary files it creates to all be removed when it exits, even if it core dumps. But while it runs, I want those files to easily be accessible to subprocesses it spawns.
For this precise use case, what if you deleted the last run's temporary files at the start of the test program?
For this precise use case, what if you deleted the last run's temporary files at the start of the test program?