← Back to team overview

sikuli-driver team mailing list archive

[Question #688756]: App.open() and subprocess.Popen don't open a jar file on Mac OS (Sikuli version 2.0.0)

 

New question #688756 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688756

Hello!

I am trying to open a jar on Mac OS (Sikuli IDE version 2.0.0). I have tried 4 methods.

1) App.open(path_to_jar)
2) App(path_to_jar).open()
3) subprocess.Popen("java -jar "+path_to_jar)
4) subprocess.Popen(["java", "-jar", path_to_jar])

All of them work on windows perfectly but on Mac none of them work.  Third throws an error and others do nothing (no error, no output, jar doesn't open). I have read here https://bugs.launchpad.net/sikuli/+bug/1717461 that adding "import subprocess" to Sikuli.py helps to make 4th method work, however, I couldn't reproduce it. After running Sikuli IDE, the SIkuli.py gets modified to it's previous state, so it does nothing. Do I have to create a new build of SIkuli somehow to make it work? If so, the how do I do it?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.