Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 140 for commandline (0.29 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    
    fun Project.execAndGetStdout(workingDir: File, ignoreExitValue: Boolean, vararg args: String): String {
        val out = ByteArrayOutputStream()
        exec {
            isIgnoreExitValue = ignoreExitValue
            commandLine(*args)
            standardOutput = out
            this.workingDir = workingDir
        }
        return out.toString().trim()
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 933 bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy

                    def message = providers.exec {
                        commandLine "cmd.exe", "/d", "/c", "type", "message"
                    }.standardOutput.asText.get()
                    print message
                """
            } else {
                scriptFile << """
                    def message = providers.exec {
                        commandLine "cat", "message"
                    }.standardOutput.asText.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts

            exec { // short for project.exec
                commandLine("ls", "-la")
            }
        }
    }
    // end::exec-op[]
    
    // tag::exec-op-inject[]
    abstract class MyExecOperationsTask
    @Inject constructor(private var execOperations: ExecOperations) : DefaultTask() {
    
        @TaskAction
        fun doTaskAction() {
            execOperations.exec {
                commandLine("ls", "-la")
            }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. cmd/kubectl-convert/kubectl-convert.go

    	"k8s.io/component-base/cli"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    	"k8s.io/kubernetes/pkg/kubectl/cmd/convert"
    )
    
    func main() {
    	flags := pflag.NewFlagSet("kubectl-convert", pflag.ExitOnError)
    	pflag.CommandLine = flags
    
    	kubeConfigFlags := genericclioptions.NewConfigFlags(true).WithDeprecatedPasswordFlag()
    	kubeConfigFlags.AddFlags(flags)
    	matchVersionKubeConfigFlags := cmdutil.NewMatchVersionFlags(kubeConfigFlags)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 14:05:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_translate.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h"
    
    using llvm::cl::opt;
    
    // Commandline flag to enable the control of flatbuffer import.
    bool use_external_constant;
    
    // Commandline flag to enable graph pruning.
    bool experimental_prune_unreachable_nodes_unconditionally;
    
    // NOLINTNEXTLINE
    static opt<bool, true> use_external_constant_flag(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/providers/services/groovy/build.gradle

    tasks.register("myInjectedArchiveOperationsTask", MyArchiveOperationsTask) {}
    // end::archive-op-inject[]
    
    // tag::exec-op[]
    tasks.register('runCommand') {
        doLast {
            exec { // short for project.exec
                commandLine 'ls', '-la'
            }
        }
    }
    // end::exec-op[]
    
    // tag::exec-op-inject[]
    abstract class MyExecOperationsTask extends DefaultTask {
        private ExecOperations execOperations
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/KillProcessAvailability.groovy

                //On some windowses, taskkill does not seem to work when triggered from java
                //On our CIs this works fine
                def e = TestFiles.execHandleFactory().newExec()
                        .commandLine("taskkill.exe", "/?")
                        .redirectErrorStream()
                        .workingDir(new File(".").absoluteFile) //does not matter
                        .build()
                e.start()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelVersionProcessor.java

    import java.util.Properties;
    
    import org.apache.maven.model.building.ModelBuildingRequest;
    
    /**
     * Allows a fixed set of properties that are valid inside a version and that could be overwritten for example on the
     * commandline
     */
    public interface ModelVersionProcessor {
    
        /**
         * @param property the property to check
         * @return <code>true</code> if this is a valid property for this processor
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionProcessor.java

    import java.util.Properties;
    
    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Allows a fixed set of properties that are valid inside a version and that could be overwritten for example on the
     * commandline
     */
    public interface ModelVersionProcessor {
    
        /**
         * @param property the property to check
         * @return <code>true</code> if this is a valid property for this processor
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. build-logic/lifecycle/src/main/kotlin/PrintStackTracesOnTimeoutBuildService.kt

            val projectDirectory: DirectoryProperty
        }
    
        private
        val timer: Timer = Timer(true).apply {
            schedule(
                timerTask {
                    execOperations.exec {
                        commandLine(
                            "${System.getProperty("java.home")}/bin/java",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 07:59:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top