python - shutil.rmtree(dest,ignore_errors=True) deletes other files but not .log and .tresoslog file? -


i using python command shutil.rmtree(dest,ignore_errors=true) remove files .metadata folder generated when eclipse launched.

this .metadata folder has .log file, .lock file , folder has plugins.

when use command delete files inside .metadata folder .log file , plugins folder gets deleted not .lock folder. throws error saying process can't accessed since used process.

is there way can delete lock file using python command or using batch script?


Comments

Popular posts from this blog

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -