Is it possible to get continuous output on CLI with tailf:exec?

Is it possible to get continuous output on CLI with tailf:exec? By default, tailf:exec prints output at the end of script execution. I would like to see continuous output as and when returned by script.

See maapi_cli_printf() and maapi_cli_write() in the confd_lib_maapi(3) man page and in the ConfD examples, e.g. the examples.confd/cli/c_cli/actions.c

1 Like