Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for showOutput (0.18 sec)

  1. src/cmd/dist/util.go

    	return keep
    }
    
    const (
    	CheckExit = 1 << iota
    	ShowOutput
    	Background
    )
    
    var outputLock sync.Mutex
    
    // run is like runEnv with no additional environment.
    func run(dir string, mode int, cmd ...string) string {
    	return runEnv(dir, mode, nil, cmd...)
    }
    
    // runEnv runs the command line cmd in dir with additional environment env.
    // If mode has ShowOutput set and Background unset, run passes cmd's output to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/dist/buildtool.go

    	}
    	if vflag > 0 {
    		cmd = append(cmd, "-v")
    	}
    	if tool := os.Getenv("GOBOOTSTRAP_TOOLEXEC"); tool != "" {
    		cmd = append(cmd, "-toolexec="+tool)
    	}
    	cmd = append(cmd, "bootstrap/cmd/...")
    	run(base, ShowOutput|CheckExit, cmd...)
    
    	// Copy binaries into tool binary directory.
    	for _, name := range bootstrapDirs {
    		if !strings.HasPrefix(name, "cmd/") {
    			continue
    		}
    		name = name[len("cmd/"):]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top