J
Josh English
This is a follow-up to some questions I posted a month or two ago. I have two programs running on various Windows XP boxes, sharing several resource files on a Windows 2003 server. It's a mapped drive on the workstations to a shared folder.
I am using a locking utility that works by creating ".lock" files in the shared folder and deleting those files when the program is done with them.
To delete the files, I am using os.unlink.
One lock file refuses to disappear, even though I have code at both application startup and shutdown (on the OnInit and OnExit methods to the wxPython Application object) that hunts down .lock files and deletes them.
Is there a better command than os.unlink to delete a file on Windows 2003 server?
Josh
I am using a locking utility that works by creating ".lock" files in the shared folder and deleting those files when the program is done with them.
To delete the files, I am using os.unlink.
One lock file refuses to disappear, even though I have code at both application startup and shutdown (on the OnInit and OnExit methods to the wxPython Application object) that hunts down .lock files and deletes them.
Is there a better command than os.unlink to delete a file on Windows 2003 server?
Josh