code: func New(ctx context.Context, cmd string, args ...string) (net.Conn, error) {
  	var (
  		c   commandConn
  		err error
  	)
  	c.cmd = exec.CommandContext(ctx, cmd, args...)
  	// we assume that args never contains sensitive information
  	logrus.Debugf("commandconn: starting %s with %v", cmd, args)
  	c.cmd.Env = os.Environ()
  	c.cmd.SysProcAttr = &syscall.SysProcAttr{}
  	setPdeathsig(c.cmd)
  	createSession(c.cmd)
  	c.stdin, err = c.cmd.StdinPipe()
  	if err != nil {
  		return nil, err
  	}
  	c.stdout, err = c.cmd.StdoutPipe()
  	if err != nil {
  		return nil, err
  	}
  	c.cmd.Stderr = &stderrWriter{
  		stderrMu:    &c.stderrMu,
  		stderr:      &c.stderr,
  		debugPrefix: fmt.Sprintf("commandconn (%s):", cmd),
  	}
  	c.localAddr = dummyAddr{network: "dummy", s: "dummy-0"}
  	c.remoteAddr = dummyAddr{network: "dummy", s: "dummy-1"}
  	return &c, c.cmd.Start()
  }
docs: // New returns net.Conn