[Tilesathome] tilesathome rmtree issue on Windows

Ed Loach ed at loach.me.uk
Thu Sep 4 14:03:32 BST 2008


> I've made another change to try and confirm this; I'm changing
> the
> delay to 30 seconds and during that delay I will try and delete
> the
> file. I've also changed the bit above to:
>     my $Image = newFromPng GD::Image($File);
>     open(PNG, $File) || die;
>     close(PNG);
> 
> I'll test it when (if) the upload queue ever lets me upload the
> current result ready to restart the program to try the changed
> version.

The file is definitely locked after the close line. I can't delete
it. With a further test I *can* delete it immediately before the
newFromPng line. 

Ed






More information about the Tilesathome mailing list