Skip to content
Trailer.devDocumentation

Workspace Exec Page

The Workspace Exec parameters panel (command, working directory, user, environment variables) above the connected terminal.

The Workspace Exec page runs a command inside the running workspace container and connects its input and output to an interactive terminal. Unlike Attach, which connects to the main process, Exec starts a new process.

Set the execution parameters, then press Connect to start the session:

  • Command the command to run. Defaults to /bin/bash.
  • Working directory optional directory to run in.
  • User optional user to run as.
  • Environment variables optional name/value pairs for the command.

After you connect, the parameters panel collapses and the interactive terminal appears. The workspace must be running and its host online.