13 lines
341 B
Batchfile
13 lines
341 B
Batchfile
|
|
@echo off
|
||
|
|
:: Launch Voice Recorder App
|
||
|
|
:: Activate conda environment and run the recorder
|
||
|
|
|
||
|
|
set "CONDA_PATH=C:\Users\antoi\anaconda3\Scripts\activate.bat"
|
||
|
|
set "CONDA_ENV=test_env"
|
||
|
|
set "SCRIPT_DIR=%~dp0"
|
||
|
|
|
||
|
|
call %CONDA_PATH% %CONDA_ENV%
|
||
|
|
:: Use python (not pythonw) to see console output for debugging
|
||
|
|
python "%SCRIPT_DIR%VoiceRecorder.py"
|
||
|
|
pause
|