Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 140 for commandline (0.53 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInjection.groovy

            return []
        }
    
        static List<SystemPropertyInjection> all(String prop, String value) {
            return [
                commandLine(prop, value),
                gradleProperties(prop, value),
                clientJvmArgs(prop, value)
            ]
        }
    
        static SystemPropertyInjection commandLine(String prop, String value) {
            return new SystemPropertyInjection() {
                @Override
                String getDescription() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProviderCompatibleJavaExecSpecTest.groovy

        def "spec sets commandLine on parameters"() {
            given:
            def parameters = newParameters()
            def command = ["some", "arguments"]
    
            when:
            (specUnderTest as JavaExecSpec).args(command)
            specUnderTest.copyToParameters(parameters)
    
            then:
            getSuffix(parameters.commandLine.get(), command.size()) == command
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/tasks/AbstractExecTask.java

        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public T commandLine(Object... arguments) {
            execSpec.commandLine(arguments);
            return taskType.cast(this);
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public T commandLine(Iterable<?> args) {
            execSpec.commandLine(args);
            return taskType.cast(this);
        }
    
        /**
         * {@inheritDoc}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 08 18:31:36 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/process/internal/JavaExecHandleBuilderTest.groovy

            when:
            List commandLine = builder.getCommandLine()
    
            then:
            String executable = Jvm.current().getJavaExecutable().getAbsolutePath()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 15 17:11:21 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/valueProviders/externalProcessProvider/groovy/build.gradle

    def 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)
  6. pkg/log/klog.go

    	configureKlog = sync.Once{}
    )
    
    // EnableKlogWithCobra enables klog to work with cobra / pflags.
    // k8s libraries like client-go use klog.
    func EnableKlogWithCobra() {
    	gf := klogVerboseFlag()
    	pflag.CommandLine.AddFlag(pflag.PFlagFromGoFlag(
    		&goflag.Flag{
    			Name:     "vklog",
    			Value:    gf.Value,
    			DefValue: gf.DefValue,
    			Usage:    gf.Usage + ". Like -v flag. ex: --vklog=9",
    		}))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top