← Back to team overview

sikuli-driver team mailing list archive

[Question #268017]: How do I get my environment variables in sikuli?

 

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

I've installed SikuliX from sikulixsetup-1.1.0-20150610.230943-100-forsetup.jar and created a very simple script to start up an application on my machine.

The application in question needs a licence which it picks up from a directory specified by an environment variable.

When I run the sikuli script either from the command line using runsikulix or from the IDE the required environment variable is gone and my application won't work.

I have added a check for the variable in the runsikulix script itself and it is there.
I have added a check of the enrivonment by doing "print os.environ" inside the sikuli script and the variable is not there.

Why is this happening? How do I get this back so I can get writing some useful tests?

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