From a9db7e087fbc7fa2d9e1590001c98f3e4e7f31fe Mon Sep 17 00:00:00 2001 From: Petr Vlasak Date: Tue, 27 Feb 2024 18:15:35 +0100 Subject: [PATCH] changed VIRTUAL_ENV_DIR and PYTHON_TO_USE --- run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run.sh b/run.sh index b4c1cf2..031649f 100755 --- a/run.sh +++ b/run.sh @@ -19,10 +19,10 @@ OUTPUT_PID_FILE=running.pid OUTPUT_PID_PATH=$HOME -PYTHON_TO_USE="python3" +PYTHON_TO_USE="python" # If using 'virtualenv' with python, specify the local virtualenv dir. -#VIRTUAL_ENV_DIR="" +VIRTUAL_ENV_DIR="/c/Projects/v2trading_clone/petr_venv" #----END EDITABLE VARS------- @@ -34,7 +34,7 @@ BACKUP_LOG_FILE="$HISTORY_DIR/${TIMESTAMP}_$LOG_FILE" # If virtualenv specified & exists, using that version of python instead. if [ -d "$VIRTUAL_ENV_DIR" ]; then - PYTHON_TO_USE="$VIRTUAL_ENV_DIR/bin/python" + PYTHON_TO_USE="$VIRTUAL_ENV_DIR/Scripts/python" fi start() {