Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for Cwd (0.03 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec3InstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for triple-argument {@code Runtime.exec}:
     * <pre>
     *     Runtime.getRuntime().exec("echo 123", env, cwd)
     *     Runtime.getRuntime().exec(["echo", "123"], env, cwd)
     * </pre>
     */
    class RuntimeExec3InstrumentationInDynamicGroovyWithIndyIntegrationTest extends AbstractProcessInstrumentationInDynamicGroovyIntegrationTest {
        @Override
        def indyModes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInKotlinIntegrationTest.groovy

            given:
            def cwd = testDirectory.file(expectedPwdSuffix)
            buildKotlinFile << """
            import java.io.OutputStream
            import org.codehaus.groovy.runtime.ProcessGroovyMethods
    
            ${varInitializer.getKotlin(baseScript.getRelativeCommandLine(cwd))}
            val process = $processCreator
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3InstanceInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for triple-argument String and String collection {@code execute} extension:
     * <pre>
     *     "echo 123".execute(env, cwd)
     *     ["echo", "123"].execute(env, cwd)
     * </pre>
     */
    class Execute3InstanceInstrumentationInDynamicGroovyWithIndyIntegrationTest extends AbstractProcessInstrumentationInDynamicGroovyIntegrationTest {
        @Override
        def indyModes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

     * <pre>
     *     import static org.codehaus.groovy.runtime.ProcessGroovyMethods.execute
     *     execute("echo 123", env, cwd)
     *     execute(["echo", "123"], env, cwd)
     * </pre>
     */
    class Execute3StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest extends AbstractProcessInstrumentationInDynamicGroovyIntegrationTest {
        @Override
        def indyModes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3QualifiedStaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for triple-argument {@code ProcessGroovyMethods.execute}:
     * <pre>
     *     ProcessGroovyMethod.execute("echo 123", env, cwd)
     *     ProcessGroovyMethod.execute(["echo", "123"]", env, cwd)
     * </pre>
     */
    class Execute3QualifiedStaticInstrumentationInDynamicGroovyWithIndyIntegrationTest extends AbstractProcessInstrumentationInDynamicGroovyIntegrationTest {
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/telemetrystats/telemetrystats.go

    // incrementConfig increments counters for the configuration
    // the command is running in.
    func incrementConfig() {
    	if !modload.WillBeEnabled() {
    		telemetry.Inc("go/mode:gopath")
    	} else if workfile := modload.FindGoWork(base.Cwd()); workfile != "" {
    		telemetry.Inc("go/mode:workspace")
    	} else {
    		telemetry.Inc("go/mode:module")
    	}
    	telemetry.Inc("go/platform/target/goos:" + cfg.Goos)
    	telemetry.Inc("go/platform/target/goarch:" + cfg.Goarch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy

                return addLine("echo $variableName=\$$variableName")
            }
    
            @Override
            Builder printWorkingDir() {
                return addLine("echo CWD=\$(pwd)")
            }
    
            @Override
            Builder withExitValue(int exitValue) {
                return addLine("exit $exitValue")
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/work.txt

    package lib
    
    import "example.com/a"
    
    func Hello() {
    	a.HelloFromA()
    }
    
    -- c/README --
    Create this directory so we can cd to
    it and make sure paths are interpreted
    relative to the go.work, not the cwd.
    -- d/go.mod --
    module example.com/d
    
    -- d/main.go --
    package main
    
    import "example.com/b/lib"
    
    func main() {
    	lib.Hello()
    }
    
    -- go.work.backwards --
    go 1.18
    
    use (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top