command prompt - Batch File Ending Prematurely -


i have batch file following commands (to set compiler):

del yylex.java  jflex scanner.flex  del parser.java  java -jar java-cup-11a.jar parser.cup 

however, reason, after conclusion of jflex scanner.flex, batch script ends , command prompt closes. if run command separately, not happen. know what's wrong?

is jflex batch file?

if so, try

call jflex ... 

or

start /wait "" jflex ... 

(well, - give whirl anyway, can't hurt...)

when bat asked run batch, merely transfers control other batch , has no idea of return. call or start gives ticket home...


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -