Le 3 janv. 2011 à 16:48, eveningnick eveningnick a écrit : > Hello > I am writing an application that for users convenience has a button > "Uninstall". > Inside, this "uninstaller" stops several launchd services, > "kextunloads" a driver, deletes this driver and services and finally > is supposed to delete itself. > In any sane operating system it is impossible (at least, directly) for > an application to remove a file that is running.
What make you think so ? The posix spec allows a file to be unlinked even if it is used by an application (deleting a running executable using rm works perfectly for example). -- Jean-Daniel _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com