A quick look at the documentation indicates that this returns the user temporary items folder in /private/var/tmp/folders. This does not get erased on reboot, and is available to all processes running as that user. So you should create a directory inside that (or in /tmp if you want it to go away even if you crash) and then remove it at the end of your run.