Expand description
Synchronous IPC client for the running-process daemon.
Connects to the daemon over a local socket (Unix domain socket on Linux/macOS, named pipe on Windows) and exchanges length-prefixed protobuf messages.
Structs§
- Daemon
Client - Synchronous IPC client that communicates with the daemon over a local socket.
- Spawn
Command Request - Request to spawn a detached daemonized shell command under daemon control.
- Spawned
Daemon - Information about a daemonized process spawned by the service.
Enums§
- Client
Error - Errors produced by
DaemonClientoperations.
Functions§
- connect_
or_ start - Connect to the daemon, starting it first if it is not running.
- daemonize_
command - Convenience helper that connects to the daemon and asks it to daemonize the provided shell command under the caller’s current cwd/environment.
- launch_
detached - Launch a detached shell command through the running-process daemon.