Fix for args encased in quotes

This commit is contained in:
CorpNewt 2019-06-14 11:29:01 -05:00 committed by GitHub
parent e06f81be9c
commit 2a85b92307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,9 @@ exit /b
:runscript
REM Python found
cls
if "%*"=="" (
set "args=%*"
set "args=!args:"=!"
if "!args!"=="" (
python "!thisDir!!script_name!"
) else (
python "!thisDir!!script_name!" %*