How to use "executeCommandLine" correctly

Did you see this thread?
https://community.openhab.org/t/tutorial-restart-binding-from-rule/37047