Re: Is a file used by another application?
Re: Is a file used by another application?
- Subject: Re: Is a file used by another application?
- From: Tomas Zahradnicky <email@hidden>
- Date: Sun, 19 Jan 2003 21:54:13 +0100
Hi,
is there a way in Cocoa to know if a given file is used by another
application or process? I think this would be some kind of
equivalent of the lsof shell command.
Unfortunately NO.
Lsof traversers kernel structures in a very unhealthy way. If you
want similiar functionality either parse results of lsof or grab it
from lsof source.
-Tomas
--
# Tomas Zahradnicky, Jr
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.