Skip to content

defaultExec

View as Markdown
const defaultExec: ExecFn;

Defined in: agent/src/agent.ts:36

Runs a command without a shell. On Windows the console window is hidden, a bare name never comes from the current directory (system tools run from System32, anything else is resolved on PATH), and a cmd.exe /d /s /c "<line>" from resolveCommand is passed verbatim (Node would otherwise re-quote the line).