MCPcopy Create free account
hub / github.com/devspace-sh/devspace / startPTY

Function startPTY

helper/ssh/pty_supported.go:14–16  ·  view source on GitHub ↗
(cmd *exec.Cmd)

Source from the content-addressed store, hash-verified

12)
13
14func startPTY(cmd *exec.Cmd) (*os.File, error) {
15 return pty.Start(cmd)
16}
17
18func setWinSize(f *os.File, w, h int) {
19 _, _, _ = syscall.Syscall(syscall.SYS_IOCTL, f.Fd(), uintptr(syscall.TIOCSWINSZ),

Callers 1

HandlePTYFunction · 0.70

Calls 1

StartMethod · 0.65

Tested by

no test coverage detected