You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

openvibe-external-application-launcher.cmd-base 378B

3 years ago
123456789101112131415161718
  1. @echo off
  2. REM
  3. REM This script is meant to be launched from an environment with the OV_PATH_BIN env variable set externally
  4. REM
  5. SET "OV_RUN_APP=%1"
  6. SHIFT
  7. SET OV_RUN_IN_BG=
  8. IF /i "%1"=="--run-bg" (
  9. REM Run in background. The first arg to START is the app title.
  10. SET OV_RUN_IN_BG=START "%OV_RUN_APP%"
  11. SHIFT
  12. )
  13. %OV_RUN_IN_BG% "%OV_PATH_ROOT%\bin\%OV_RUN_APP%" %1 %2 %3 %4 %5