github.com/pquerna/agent@v2.1.8+incompatible/process/utils.go (about) 1 // +build !windows 2 3 package process 4 5 import ( 6 "os" 7 "os/exec" 8 9 "github.com/kr/pty" 10 ) 11 12 func StartPTY(c *exec.Cmd) (*os.File, error) { 13 return pty.Start(c) 14 }