- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 245 for commandline (0.51 sec)
-
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy
} ExecutionResult runViaUnixStartScript(TestFile startScriptDir) { buildFile << """ task execStartScript(type: Exec) { workingDir '$startScriptDir.canonicalPath' commandLine './sample' environment JAVA_OPTS: '' } """ return succeeds('execStartScript') } ExecutionResult runViaUnixStartScriptWithJavaHome(String javaHome) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 23.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)