What is the proper way to safely create a temporary directory in Haskell?System.IO offers ways to create temporary files, but I can\'t fin开发者_开发技巧d anything that does the same for directories,
I need a fresh temporary directory to do some work in a shell script. When the work is done (or if I kill the job midway), I want the script to change back to the old working directory and wipe out th
I\'d like to provide a class to manage creation and subsequent deletion of a temporary directory. Ideally, I\'d like it to be usable in a using block to ensure that the directory gets deleted again re
when running a Java application as service with the user \'LocalService\', the temp directory (\"java.io.tmpdir\") points to \'c:/windows/temp\' (for example).