DMU50_GUI_PY/EXEC_MAIN.ps1
Eduard Gerlitz 8d726ccaae v2.0.1
2025-03-13 14:35:46 +01:00

11 lines
331 B
PowerShell

#---------- USER DEFINE --------------
$venvName = "dmu50_wingui"
$scriptPath = "./MAIN.py"
#-------------------------------------
# Activate the Conda environment and execute the Python script
cmd.exe /c "conda activate $venvName && python $scriptPath"
# Pause at the end of the script
# Read-Host -Prompt "Press Enter to exit"