MCPcopy Index your code
hub / github.com/coder/coder / CommandContext

Method CommandContext

agent/agentexec/exec.go:95–98  ·  view source on GitHub ↗
(ctx context.Context, cmd string, args ...string)

Source from the content-addressed store, hash-verified

93}
94
95func (e priorityExecer) CommandContext(ctx context.Context, cmd string, args ...string) *exec.Cmd {
96 cmd, args = e.agentExecCmd(cmd, args...)
97 return exec.CommandContext(ctx, cmd, args...)
98}
99
100func (e priorityExecer) PTYCommandContext(ctx context.Context, cmd string, args ...string) *pty.Cmd {
101 cmd, args = e.agentExecCmd(cmd, args...)

Callers 1

TestExecerFunction · 0.95

Calls 2

agentExecCmdMethod · 0.95
CommandContextMethod · 0.65

Tested by 1

TestExecerFunction · 0.76