How to wright a script to run multiple OpenCv programs in Windows? [closed]

asked 2017-02-09 00:49:27 -0600

astronaut gravatar image

I like to run several OpenCV programs one by one in a DO Loop. After searching the web , think for this case need to use batch file. Is that right? The condition is that the next program must start only after the previous one finished. So, is there any way of control it?

Any idea how it should look like?

I have thinking of something like this , but not sure about the control

@ECHO OFF
START program1.exe

  :: not sure how to control the end of program1

   ECHO Timeout waiting for program1.exe to start
   GOTO :EOF

    :startnext
     program2.exe
    :: or START program2.exe

 ext
edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by LBerger
close date 2017-02-09 02:02:16.277761

Comments

2

There is no opencv problem. You should post your question on a windows forum.

LBerger gravatar imageLBerger ( 2017-02-09 01:23:43 -0600 )edit