Hi, I think the subject says it all, really. I'm trying to debug a script (I think I'd call it a script as it is replacing a bash script), and if I give -d as an argument to the script, then I'd like the tempfile not to be deleted on exit. Will I have to override the close method in tmpfile, or is there an easier way, please? Thanks Graham Nicholls -- The answer's always "Yes". Now, what's the question?