code: func (c *Config) InitializeStdio(iop *cio.DirectIO) (cio.IO, error) {
  	c.StreamConfig.CopyToPipe(iop)
  
  	if c.StreamConfig.Stdin() == nil && !c.Tty && runtime.GOOS == "windows" {
  		if iop.Stdin != nil {
  			if err := iop.Stdin.Close(); err != nil {
  				logrus.Errorf("error closing exec stdin: %+v", err)
  			}
  		}
  	}
  
  	return &rio{IO: iop, sc: c.StreamConfig}, nil
  }
docs: // InitializeStdio is called by libcontainerd to connect the stdio.