Question #254201 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254201
Status: Open => Needs information
RaiMan requested more information:
as far as I understand:
- DISPLAY is a system environment variable on ..nix systems
- it is only interpreted, when an application starts
... so changing it in an app after startup (if possible at all), should
not have any consequences
Jython os.environ/os.putenv
- there are some system specific behaviours and non-behaviors mentioned in the
docs
- but as far as I understand: in no case it changes the system environment
(only the internal copy for the Jython session, same restriction as with Java)
- changes in environment are visible to subprocesses
I tested on Mac OSX 10.9 with Jython 2.7 (which is included in Sikuli 1.1.0):
changes using os.putenv are available later when using os.environ in the same
session
BTW: what is your intention? selecting the screen, that Sikuli should
use at runtime?
what version of Sikuli?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp