The stupid question is the question not asked | |
PerlMonks |
Re: Deleting a running scriptby graff (Chancellor) |
on Sep 17, 2003 at 05:02 UTC ( [id://292056]=note: print w/replies, xml ) | Need Help?? |
I'm just grasping as straws here (if I were using windows myself, I guess I'd be gasping at flaws...) -- anyway, I wonder if you can figure a way to have your script manipulate the windows "task scheduler" so that it will execute some windowless process to delete your script file at, say, a minute or two after the current time when the script is about to exit. (Needless/heedless to say, "cron" on *nix would make this sort of approach very easy.) Good luck.
In Section
Seekers of Perl Wisdom
|
|