← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #449241]: os.getenv is not getting new variable settings each time it is called

 

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

    Status: Answered => Open

Justin Pinkham is still having a problem:
Can you elaborate? I believe the issue is actually that SikuliX starts
java from a cmd.exe, and by inherent reasons the cmd.exe environment is
propagating the os.getenv rather than actually getting the new values
because it is being run as a "sub process" within the original cmd
window..

I am new but I cannot call the batch files to change the variables for this exact reason a sub process from a batch inherits the variable values of it's parent. is this what you mean by running the scripts form the commandline?
or are you stating that I should re-call SikuliX from a command line each time which is exactly what I tried to do before my alternate (which is what I posted) again because I believe sikuli is getting the variable values from the originating cmd window.

Thanks Again

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