Hi Ozgur, Many thanks for the code. I did write a similar script for the same purposes, but the trap 'on_die' and on_die() function in your script is very nice.
Thank you very much again! Lianheng ========================================================== Lianheng Tong Tel: +44 20 7679 3302 London Centre For Nanotechnology Fax: +44 20 7679 0595 University College London [email protected]<mailto:[email protected]> 17–19 Gordon Street, London WC1H 0AH, U.K. ========================================================== On 9 Jan 2013, at 14:12, Ozgur Akgun wrote: Hi Lianheng, Now I have to share my slightly dodgy hack with you. It's been working for me for a while, hope it helps you in some way. https://gist.github.com/4493366 Best, Ozgur
