SC26AI agents lab + dinner on the river · Nov 17
Parallel Works

pw code daemon

pw code daemon

Manage the pw code app-server daemon

Synopsis

The daemon hosts live pw code sessions on a local Unix socket, so a session outlives the terminal that started it and can be reattached from this machine, from pw code attach on another machine, or from the web app when remote control is on.

pw code starts the daemon automatically and it keeps running until stopped. After an upgrade, an outdated daemon is replaced once it is idle. Its socket and log (code-daemon-<host>.log) live under ~/.local/state/pw.

pw code daemon [flags]

Examples

  pw code daemon status
  
  # Stop it, for example at the end of a CI job that ran pw code -p
  pw code daemon stop

Options

  -h, --help   help for daemon

Options inherited from parent commands

      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
  -v, --verbose                Enable verbose logging

SEE ALSO