Reputation: 20805
In a directory I have three files.
print "Hello World"
python test.py
PAUSE
jython test.py
PAUSE
The python_runner.bat works as expected, but running Jython_runner.bat causes the PAUSE command to be skipped!
Why is Jython causing the batch script to be prematurely terminated?
(NOTE: I am using Jython2.7b4, I haven't tried with Jython 2.5)
Upvotes: 0
Views: 272
Reputation: 14873
If the jython command is a batch script then the pause and any thing after this will not be executed.
try call
call jython test.py
What is the outcome?
Upvotes: 1