← Back to team overview

sikuli-driver team mailing list archive

[Question #237460]: Running multiple Sikuli scripts using a batch file

 

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

Hello all,

I have a similar issue with wanting to run multiple Sikuli scripts from a batch file.

I have found this question https://answers.launchpad.net/sikuli/+question/237151 which I tried to implement, however, it does not seem to be successful.

Here is my batch file:

@echo off
echo Installing software ...
echo.
echo.
start /i /b /wait c:\SikuliX\runScript.cmd -r c:\SikuliX\testprogram1.sikuli
start /i /b /wait c:\SikuliX\runScript.cmd -r c:\SikuliX\testprogram2.sikuli
echo.
echo.
pause
echo Done.

The issue that I am experiencing is that testprogram1.sikuli would run, but when finished, the command prompt window would still be open sitting at the command prompt waiting of input.
If I type 'exit' at the command prompt, the batch script would continue and rung testprogram2.sikuli.

Any suggestions would be greatly appreciated.

Thanks!

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