salt/pkg/windows/buildenv/salt-run.bat
2017-07-26 14:21:41 -06:00

13 lines
285 B
Batchfile

@ echo off
:: Script for invoking salt-run
:: Accepts all parameters that salt-run accepts
:: Define Variables
Set SaltDir=%~dp0
Set SaltDir=%SaltDir:~0,-1%
Set Python=%SaltDir%\bin\python.exe
Set Script=%SaltDir%\bin\Scripts\salt-run
:: Launch Script
"%Python%" -E -s "%Script%" %*