Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 187 for Commands (0.15 sec)

  1. src/cmd/go/testdata/script/telemetry.txt

    stdout 'on'
    
    go env
    stdout 'GOTELEMETRY=''?on''?'
    stdout 'GOTELEMETRYDIR=''?'$userconfig'[\\/]go[\\/]telemetry''?'
    ! go env -w GOTELEMETRY=off
    stderr '^go: unknown go command variable GOTELEMETRY$'
    ! go env -w GOTELEMETRYDIR=foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/errors_test.go

    	dir, err := os.MkdirTemp("", filepath.Base(t.Name()))
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    
    	dst := filepath.Join(dir, strings.TrimSuffix(file, ".go"))
    	cmd := exec.Command("go", "build", "-gcflags=-L -e", "-o="+dst, path(file)) // TODO(gri) no need for -gcflags=-L if go tool is adjusted
    	out, err := cmd.CombinedOutput()
    	if err == nil {
    		t.Errorf("expected cgo to fail but it succeeded")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/cmd/trace/testdata/mktests.go

    //go:build ignore
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"internal/trace/raw"
    	"internal/trace/version"
    	"io"
    	"log"
    	"os"
    	"os/exec"
    )
    
    func main() {
    	// Create command.
    	var trace, stderr bytes.Buffer
    	cmd := exec.Command("go", "run", "./testprog/main.go")
    	cmd.Stdout = &trace
    	cmd.Stderr = &stderr
    
    	// Run trace program; the trace will appear in stdout.
    	fmt.Fprintln(os.Stderr, "running trace program...")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/telemetrycmd/telemetry.go

    // license that can be found in the LICENSE file.
    
    // Package telemetrycmd implements the "go telemetry" command.
    package telemetrycmd
    
    import (
    	"context"
    	"fmt"
    	"os"
    
    	"cmd/go/internal/base"
    	"cmd/internal/telemetry"
    )
    
    var CmdTelemetry = &base.Command{
    	UsageLine: "go telemetry [off|local|on]",
    	Short:     "manage telemetry data and settings",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r49/ToolingApiEclipseModelProjectCrossVersionSpec.groovy

               apply plugin: 'eclipse'
               import org.gradle.plugins.ide.eclipse.model.BuildCommand
    
               eclipse.project {
                   natures += ['nature.a']
                   buildCommand 'command1', argumentKey: 'arg'
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.projectNatures.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. docs/en/docs/fastapi-cli.md

    # FastAPI CLI
    
    **FastAPI CLI** is a command line program that you can use to serve your FastAPI app, manage your FastAPI project, and more.
    
    When you install FastAPI (e.g. with `pip install fastapi`), it includes a package called `fastapi-cli`, this package provides the `fastapi` command in the terminal.
    
    To run your FastAPI app for development, you can use the `fastapi dev` command:
    
    <div class="termy">
    
    ```console
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 23:39:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. pkg/probe/exec/exec_test.go

    		// Timeout
    		{probe.Failure, false, true, "", remote.ErrCommandTimedOut.Error() + ": command testcmd timed out", fmt.Errorf("%w: command testcmd timed out", remote.ErrCommandTimedOut)},
    		// ExecProbeTimeout
    		{probe.Unknown, true, false, "", "", fmt.Errorf("%w: command testcmd timed out", remote.ErrCommandTimedOut)},
    	}
    
    	for i, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/mktests.go

    	// Skip if we have a pattern and this test doesn't match.
    	skip, err := ctx.register(name)
    	if err != nil {
    		return err
    	}
    	if skip {
    		return nil
    	}
    
    	// Create command.
    	var trace, stderr bytes.Buffer
    	cmd := exec.Command("go", "run", progPath)
    	cmd.Stdout = &trace
    	cmd.Stderr = &stderr
    
    	// Run trace program; the trace will appear in stdout.
    	fmt.Fprintf(os.Stderr, "running trace program %s...\n", name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/running-builds/introduction/build_scans.adoc

    Instead, copy the link to your latest build scan.
    
    image::build-scan-2.png[]
    
    == Enable Build Scans
    
    To enable build scans on a gradle command, add `--scan` to the command line option:
    
    [source,text]
    ----
     ./gradlew build --scan
    ----
    
    You may be prompted to agree to the terms to use Build Scans.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/03-gopls.yml

        id: gopls-version
        attributes:
          label: "gopls version"
          description: "Output of `gopls -v version` on the command line"
        validations:
          required: true
      - type: textarea
        id: go-env
        attributes:
          label: "go env"
          description: "Output of `go env` on the command line in your workspace directory"
          render: shell
        validations:
          required: true
      - type: textarea
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:09:04 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top