-
I want to run a batch file as a test. I currently have the following: target('batch_test')
set_kind('phony')
on_test(function (target)
os.execv('scripts\\test.bat', {}, {})
return true
end)
add_tests('default') This kinda works, except that the batch file excepts to be run with I have tried the following:
None of them worked, always failing with "test.bat is not recognized as an internal or external command". |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Jun 9, 2025
Replies: 1 comment 1 reply
-
call cmd to load it. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dkaszews
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
call cmd to load it.