Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 230 for commandline (0.27 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    // the concatenation of prefix and the flag name.
    //
    //	For instance, CountFlags("gopls/flag:", *flag.CommandLine)
    func CountFlags(prefix string, fs flag.FlagSet) {
    	fs.Visit(func(f *flag.Flag) {
    		New(prefix + f.Name).Inc()
    	})
    }
    
    // CountCommandLineFlags creates a counter for every flag
    // that is set in the default flag.CommandLine FlagSet using
    // the counter name binaryName+"/flag:"+flagName where
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/valueProviders/externalProcessProvider/kotlin/build.gradle.kts

    val gitVersion = providers.exec {
        commandLine("git", "--version")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 100 bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

                    dependsOn 'compileJava'
                    commandLine '${fileToPath(Jvm.current().javaExecutable)}', '-cp', '${fileToPath(file('build/classes/java/main'))}', 'Block'
                }
    
                task projectExecTask {
                    dependsOn 'compileJava'
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginConfigurationIntegrationTest.groovy

            run("installDist")
    
            def out = new ByteArrayOutputStream()
            def executer = new ScriptExecuter()
            executer.workingDir = testDirectory
            executer.standardOutput = out
            executer.commandLine = "build/install/test/bin/test"
            def result = executer.run()
            then:
            result.assertNormalExitValue()
            out.toString() == TextUtil.toPlatformLineSeparators("all good\n")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/credentials-handling/pass-credentials-to-external-tool-via-stdin/groovy/build.gradle

    def login = tasks.register('login', Exec) {
        def loginProvider = providers.credentials(PasswordCredentials, 'login')
        inputs.property('credentials', loginProvider)
    
        commandLine = ['sh', 'login.sh']
        doFirst {
            def loginCredentials = loginProvider.get()
            standardInput = new ByteArrayInputStream("$loginCredentials.username\n$loginCredentials.password".getBytes())
        }
    }
    
    tasks.register('doAuthenticated') {
        dependsOn(login)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 521 bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

            return execute(["bash"] as Object[], new ByteArrayInputStream(commands.getBytes()))
        }
    
        private String execute(Object[] commandLine, InputStream input) {
            def output = new ByteArrayOutputStream()
            def e = TestFiles.execHandleFactory().newExec()
                    .commandLine(commandLine)
                    .redirectErrorStream()
                    .setStandardInput(input)
                    .setStandardOutput(output)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/process-services/src/main/java/org/gradle/process/ExecSpec.java

         * @return this
         */
        ExecSpec commandLine(Object... args);
    
        /**
         * Sets the full command line, including the executable to be executed plus its arguments.
         *
         * @param args the command plus the args to be executed
         * @return this
         */
        ExecSpec commandLine(Iterable<?> args);
    
        /**
         * Adds arguments for the command to be executed.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy

        ExternalProcessFixture(TestFile testDirectory) {
            this.testDirectory = testDirectory
        }
    
        private String getCommandLineAsVarargLiterals() {
            return ShellScript.cmdToVarargLiterals(testExecutable.commandLine)
        }
    
        interface Snippets {
            abstract String getBody()
    
            abstract String getImports()
        }
    
        interface SnippetsFactory {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/credentials-handling/pass-credentials-to-external-tool-via-stdin/kotlin/build.gradle.kts

    val login = tasks.register<Exec>("login") {
        val loginProvider = providers.credentials(PasswordCredentials::class.java, "login")
        inputs.property("credentials", loginProvider)
    
        commandLine = listOf("sh", "login.sh")
        doFirst {
            val loginCredentials = loginProvider.get()
            standardInput = java.io.ByteArrayInputStream("${loginCredentials.username}\n${loginCredentials.password}".toByteArray())
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 551 bytes
    - Viewed (0)
  10. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/RemoteProject.groovy

            cleanTemporaryDir(fsOps, checkoutDir)
            execOps.exec {
                commandLine = ["git", "clone", "--no-checkout", remoteUri, checkoutDir.absolutePath]
                errorOutput = System.out
            }
            execOps.exec {
                commandLine = ["git", "checkout", ref]
                workingDir = checkoutDir
                errorOutput = System.out
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top