← 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

    Status: Open => Answered

RaiMan proposed the following answer:
The use of Popen is not the problem, you forgot to mention the usage of
os.mkfifo() before, to try to open a pipe.

The Jython module os does not contain an implementation of mkfifo  despite the fact, that it is mentioned in the docs to be available on Unix (but this might be because the Jython docs are copies of the Python docs in the first place and revised later).
This is valid both for Jython 2.5.1 (Sikuli X rc2) and Jython 2.5.2 (Sikuli X rc3). Even in their bug list nothing is mentioned about it.

So, sorry, this is currently not possible using a pipe.

You have to setup a protocol based on a real file.

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