Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for passLongArgsInResponseFiles (0.31 sec)

  1. src/cmd/go/internal/work/shell.go

    	if err != nil {
    		return nil, err
    	}
    	cmd := exec.Command(path, cmdline[1:]...)
    	if cmd.Path != "" {
    		cmd.Args[0] = cmd.Path
    	}
    	cmd.Stdout = &buf
    	cmd.Stderr = &buf
    	cleanup := passLongArgsInResponseFiles(cmd)
    	defer cleanup()
    	if dir != "." {
    		cmd.Dir = dir
    	}
    	cmd.Env = cmd.Environ() // Pre-allocate with correct PWD.
    
    	// Add the TOOLEXEC_IMPORTPATH environment variable for -toolexec tools.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    	abs := make([]string, len(files))
    	for i, f := range files {
    		if !filepath.IsAbs(f) {
    			f = filepath.Join(dir, f)
    		}
    		abs[i] = f
    	}
    	return abs
    }
    
    // passLongArgsInResponseFiles modifies cmd such that, for
    // certain programs, long arguments are passed in "response files", a
    // file on disk with the arguments, with one arg per line. An actual
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top