I'm sorry, I think this question is much too specific. But anyway, here it goes:
I'm making a wrapper for an application, and because my wrapper consumes lots of memory due to the kinds of things it does, it quits when the actual application launches. BUT - the application runs in a temporary directory, and since it consumes like 5MB
, I want OSX to delete it when said application quits. How can I do this? (Preferably without a helper app. The application needs as much memory as possible.)