Disable "Error prompt" when run workflow from .bat

When I run my workflow from a bat script and execution not succeeds well a promt appears with the log, but sometimes the workflow have no error even so the prompt appears. I want to totally supress this prompt from all my workflows executions, how can I do that? Beneath my script and its parameters, maybe there is some parameter that can supress this error window. The content of the erroe log is not important, I just want to avoid this prompt independet wether error or not

“C:\Users\MYUSERS\knime.exe” -nosave -reset -nosplash -preferences=“C:\MYUSER\preferences_new.epf” -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“C:\MYUSER\MY_WORKFLOW”

@elaisafonceca you could try and test these settings:

-consoleLog: Outputs the log messages to the console. This is useful for debugging or monitoring the workflow execution in real-time.

-launcher.suppressErrors: Suppresses error dialogs in the GUI. Since batch mode is typically used in environments without a graphical interface, this option can prevent the system from waiting for user input on errors.

2 Likes

@mlauber71 Thanks a lot for your fast reply.
I already known the -consoleLog but the --launcher.suppressErrors worked like a charm. Thanks again.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.