Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
func
startPTY(cmd *exec.Cmd) (*os.File, error) {
15
return
pty.Start(cmd)
16
}
17
18
func
setWinSize(f *os.File, w, h int) {
19
_, _, _ = syscall.Syscall(syscall.SYS_IOCTL, f.Fd(), uintptr(syscall.TIOCSWINSZ),
Callers
1
HandlePTY
Function · 0.70
Calls
1
Start
Method · 0.65
Tested by
no test coverage detected