← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #242133]: Why not synchronized/blocking for some basic functions?

 

Question #242133 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242133

    Status: Open => Answered

RaiMan proposed the following answer:
--- I know they are synchronous/blocking from Sikuli doc, but in fact,
it's *NOT* at least by my testing.

what "Sikuli doc" you are talking about?

Anyway, you are complaining about Jython features, not Sikuli features.

--- the Jython docs about os.remove() (especially the note between the hyphens):
os.remove(path)
Remove the file path. If path is a directory, OSError is raised; see rmdir() below to remove a directory. This is identical to the unlink() function documented below. On Windows, attempting to remove a file that is in use causes an exception to be raised; 
---
on Unix, the directory entry is removed but the storage allocated to the file is not made available until the original file is no longer in use.
---
Availability: Unix, Windows.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.