Equivalent of "handle" from sysinternals.com

Justin Johnson justinjohnson at fastmail.fm
Mon Aug 4 10:29:38 EDT 2003


I wrote a utility function in python to run the handle.exe command from
www.sysinternals.com to get the list of processes holding on to a
particular file so I can kill them off before removing that file.  This
works well, but handle.exe fails if more than one instance of it are run
at the same time.  So I was thinking of writing this functionality in
python and not being dependent on handle.exe.

Does anyone know how I could do such a thing?

Thanks.
-Justin





More information about the Python-list mailing list