Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for closeDescriptors (0.29 sec)

  1. src/os/exec/exec.go

    	if c.Process != nil {
    		return errors.New("exec: already started")
    	}
    
    	started := false
    	defer func() {
    		closeDescriptors(c.childIOFiles)
    		c.childIOFiles = nil
    
    		if !started {
    			closeDescriptors(c.parentIOPipes)
    			c.parentIOPipes = nil
    		}
    	}()
    
    	if c.Path == "" && c.Err == nil && c.lookPathErr == nil {
    		c.Err = errors.New("exec: no command")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top