The batch file has only two lines:
c:\program.exe ...
pause
but pause does’t run after “program” completes… I don’t see that “press any key message” 🙁
If I move pause on the first line, then it magically works.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It fails because you are not running an executable directly – you are running it via the phpunit.bat batch file (based on information in comment added to question).
You must CALL a batch file from within another batch file if you want to return to the caller