asemahle
asemahle

Reputation: 20805

Jython command terminating batch scripts

In a directory I have three files.

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

Answers (1)

User
User

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

Related Questions