I have several batch files that execute on Startup that are running a python script for the duration of openHAB running. This works great except that I don’t get a console window opening on my desktop for me to be able to monitor any updates. If I launch the batch file from explorer or directly open a command window and run it, it works fine. I’d like to be able to launch the batch/script and have the command window open up at same time. Is there a parameter to use with executeCommandLine or something I can place in my batch file to open the command window and keep it open?
No. When OH executes a command line it does so in its own context and it does not and cannot open a window you can monitor. And since OH is a server/service, you wouldn’t want OH to do so under normal operating conditions.