sikulixapi: is there a way to set env vars prior to App.open()

Asked by Russ Hatch

Hi there. First, thanks for the hard work on sikulix!

My question: I'm using sikulixapi's App.open for a testing project -- the software I'm launching can make use of some environment variables that I'd like to set, is there an api for setting these env vars such that they are visible to the process started?

Thanks again!

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

What about the respective Java features?

Revision history for this message
Russ Hatch (russthehatch) said :
#2

Oh, sorry, I'm a bit inexperienced with java. I'll look into that, I must be making it more difficult than it actually is. Hoping for a way that I can start/stop an app using some env vars that will differ on each start.

Cheers,

Russ

Can you help with this problem?

Provide an answer of your own, or ask Russ Hatch for more information if necessary.

To post a message you must log in.