Do not start with an expired license when running the CLI.
In the case of GUI, a watermark appears in the preview in case of an expired license (or error), but in the case of CLI, the process continues without any action, which can be a waste of time.
For example, how about adding the following options to the filter.
licence <int> ..FV....... Run with watermark if no license (from 0 to 1) (default 0)
In the GUI, set license=1 to execute with watermark, and in the CLI, set license=0 (or do not set) to stop execution when the license expires.