Module launch

Source
Expand description

Launches tab-daemon and tab-pty processes. The initial launch occurs in the tab-cli, using the currently running executible id. tab exposes a hidden tab --_launch [daemon|pty] argument, which is used here to launch associated services.

Functionsยง

launch_daemon
Launches a new daemon process (if it is not already running), and waits until it is ready for websocket connections.
launch_pty
Launches a new PTY process, which will connect to the running daemon.
wait_for_shutdown
Waits for either a ctrl-c signal, or a message on the given channel.