MCPcopy Index your code
hub / github.com/jetify-com/devbox / CommandTTY

Function CommandTTY

internal/cmdutil/exec.go:13–19  ·  view source on GitHub ↗
(name string, arg ...string)

Source from the content-addressed store, hash-verified

11)
12
13func CommandTTY(name string, arg ...string) *exec.Cmd {
14 cmd := exec.Command(name, arg...)
15 cmd.Stdin = os.Stdin
16 cmd.Stdout = os.Stdout
17 cmd.Stderr = os.Stderr
18 return cmd
19}
20
21// CommandTTYWithBuffer returns a command with stdin, stdout, and stderr
22// and a buffer that contains stdout and stderr combined.

Callers 7

copyToProfileMethod · 0.92
cloneGitHistoryFunction · 0.92
createCommitFunction · 0.92
pushFunction · 0.92
cloneFunction · 0.92
CompressFunction · 0.92
CopyAllFunction · 0.92

Calls 1

CommandMethod · 0.80

Tested by

no test coverage detected