← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #180340]: Try to use os.mkfifo() --- currently not implemented by Jython

 

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

RaiMan posted a new comment:
--- protocol based on a real file
no, pipes seem not to be supported at all currently (besides the ones in the Popen() calls).
e.g. a one way pipe: You might write in a file at the one side, if it has size 0. on the other side wait until it has a size > 0 and ends with a certain string. Then read it and reset it to size 0.
This is some primitive private protocol, that should work, since you know, what you are doing.

only an idea, I do not know, whether this fits to you requirements.

--- jython missing mkfifo()
I will check it again in the Jython boards the next days and decide what to do (at least the docs should have a comment).
What I indeed found: some modules or python packages check whether mkfifo() is available. So using mkfifo() seems to be a general  "risk".

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