Skip to main content

Module launch

Module launch 

Source
Expand description

Handing the terminal over to the agent.

Functions§

exec_agent
Replace this process with the agent, so the terminal, signals and exit code are the agent’s. Returns only by exiting: 127 when the executable cannot be started.
key_helper_command
The command a launched agent runs to get its gateway key: this visdom, asked for the key of one console and project.
key_http_client
The HTTP client for getting a key: the agent does not start without it, so it may take longer than a check.
launch_error_message
What to tell the user when the agent’s executable cannot be started.
prepare_gateway
Everything the agent needs to run through the gateway: the developer’s key (the kept one, or a new one), a model alias and the ids that attribute the session. The second value holds what the developer should know (no model alias to ask for).
shell_quote
text as one word of a POSIX shell command.