Atlantiraptor Docs

shell_session

Type: Function

Recreate or retrieve a shell session handle.

Argument Type Description
argv list of string (required) Argv to run the command with.
env ordereddict.Dict Environment variables to launch with.
cwd string If specified we change to this working directory first.
secret string The name of a secret to use.
name string The name of the shell session. If the session already exists, we just return a handle to it.

Required permissions: EXECVE

Platforms: Linux, Windows

Source: vql/tools/shell/shell_service.go