| DIRECTORIO_ACTUAL=$(pwd) | |
| cd ./sd-scripts/venv || { echo "Could not access ./sd-scripts/venv"; exit 1; } | |
| source bin/activate | |
| cd "$DIRECTORIO_ACTUAL" || { echo "Could not return to original directory"; exit 1; } | |
| python combined_script.py | |
| DIRECTORIO_ACTUAL=$(pwd) | |
| cd ./sd-scripts/venv || { echo "Could not access ./sd-scripts/venv"; exit 1; } | |
| source bin/activate | |
| cd "$DIRECTORIO_ACTUAL" || { echo "Could not return to original directory"; exit 1; } | |
| python combined_script.py | |