scm: support --listen flag for uds

Support the --listen flag to mu scm, to start listening on a Unix domain socket.
This commit is contained in:
Dirk-Jan C. Binnema
2025-08-16 20:28:00 +03:00
parent 8c706a77db
commit e56c848952
6 changed files with 52 additions and 15 deletions

View File

@ -259,6 +259,7 @@ struct Options {
struct Scm {
OptString script_path; /**< Path to script (optional) */
StringVec params; /**< Parameters for script (after "--") */
bool listen; /**< Whether to start listening on a socket */
} scm;