Expand description
Script resolution and the process each script type runs as.
Structsยง
- Command
Spec ๐ - A process to run, as a plain value: no OS handles and no ambient state.
Enumsยง
- Script
Type ๐ - How the connector launches an operator-supplied script.
Constantsยง
- ENV_
ALLOWLIST ๐ - HOST_
CANDIDATES ๐
Functionsยง
- allowlisted_
env ๐ - build_
command ๐ - The process that runs
scriptforoperation: the script itself, or the PowerShell host running it. - resolve_
host ๐ - The configured PowerShell host, else the first candidate found on
PATH. - resolve_
script_ ๐path - Resolves the
SCRIPTcredential to a canonical path, confined toscript_rootwhen set. - resolve_
script_ ๐type - The launcher for
script: theSCRIPT_TYPEcredential when set, otherwise by extension. - strip_
verbatim_ ๐path_ prefix - Rewrites a
\\?\C:\...verbatim disk path toC:\...; other paths are returned unchanged.