[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

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-07-11
Last reply:
2019-07-12
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.