To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

How to stop a ProM CLI run?

Hi everyone,

I'm applying some self-made ProM scripts on ProM CLI. However, the .bat file created as described in this tutorial does not seem to completely quit after my script is run. Its corresponding threads are still alive. How can I fix this, such that the process quit after my script is run?

My ProM_CLI.bat file:
"@GOTO start

:add
 @set X=%X%;%1
 @GOTO :eof

:start
@set X=.\dist\ProM-Framework.jar
@set X=%X%;.\dist\ProM-Contexts.jar
@set X=%X%;.\dist\ProM-Models.jar
@set X=%X%;.\dist\ProM-Plugins.jar

@for /R .\lib %%I IN ("*.jar") DO @call :add .\lib\%%~nI.jar

@java -Xmx4G -XX:MaxPermSize=2G -classpath "%X%" -XX:+UseCompressedOops -Djava.library.path=.//lib -Djava.util.Arrays.useLegacyMergeSort=true org.processmining.contexts.cli.CLI %1 %2

exit 0"


Thanks in advance!
Tagged:
Sign In or Register to comment.