executeCommandLine() questions

It is supposed to be documented here. I was the one who originally brought the docs over from the wiki. I must have messed up. I’ll submit a PR later today.

  1. First argument is the command to execute. When only one argument is provided executeCommandLine immediately exits and runs the command in the background. Second argument is an optional timeout in milliseconds. When supplied executeCommandLine will wait up to that number of milliseconds for the command to complete running and return the text printed by the command.

  2. The only way is to change the log level or filtering that log statement out. See openHAB - Filtering event logs.

PR is here: Added docs for missing core actions by rkoshak · Pull Request #769 · openhab/openhab-docs · GitHub

1 Like