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

Method PTYCommandContext

agent/agentcontainers/execer.go:71–77  ·  view source on GitHub ↗
(ctx context.Context, cmd string, args ...string)

Source from the content-addressed store, hash-verified

69}
70
71func (e *commandEnvExecer) PTYCommandContext(ctx context.Context, cmd string, args ...string) *pty.Cmd {
72 name, args, dir, env := e.prepare(ctx, cmd, args...)
73 c := e.execer.PTYCommandContext(ctx, name, args...)
74 c.Dir = dir
75 c.Env = env
76 return c
77}

Callers

nothing calls this directly

Calls 2

prepareMethod · 0.95
PTYCommandContextMethod · 0.65

Tested by

no test coverage detected