You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hope you are doing well.
I am looking at your libcli code in github and have a question. I see the codes and examples where both CLI commands are and cli_loop() part of the same process, and it works fine.
My application has multiple processes listening on the UNIX_AF socket . And I want to provide a single CLI interface to the customer, So do you have any example of how I can implement it ?
Thanks
The text was updated successfully, but these errors were encountered:
Hi - our use case hasn't worked this way, and the core data structures in libcli do not have any design features to allow for multiple simultaneous but independent instances. My suggestion would be that your listener on the UNIX_AF socket would spawn a new process (not thread) for each independent instance.
Hello ,
Hope you are doing well.
I am looking at your libcli code in github and have a question. I see the codes and examples where both CLI commands are and cli_loop() part of the same process, and it works fine.
My application has multiple processes listening on the UNIX_AF socket . And I want to provide a single CLI interface to the customer, So do you have any example of how I can implement it ?
Thanks
The text was updated successfully, but these errors were encountered: