[1.1.4] check if an instance is running when launching a sikulix script

Asked by Jitendra Patel on 2019-07-11

I start my script using the following ind a bat file
<path-to>/sikulix.jar -r <path-to>sikuli package

i wanted to know if we can somehow check if this is already started before running a second instance. also i noticed that closing the command prompt keep the script running with prior verson it would stop it. now i'm not sure if i already started something or not since its still running in the background when command prompt is closed

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

I have to check this.

Currently, you have to take care, that you end the script eventually by using the alt-shift c stop hotkey, before closing the command prompt.

RaiMan (raimund-hocke) said : #2

I just made some tests with the lates build:

It behaves as expected:
The running script is terminated, when you close the command window, where you started the scriptrun.

Can you help with this problem?

Provide an answer of your own, or ask Jitendra Patel for more information if necessary.

To post a message you must log in.