Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for fromStringArray (0.31 sec)

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

                [fromGroovyString(), "Runtime.getRuntime().exec(command, new String[] {'FOOBAR=foobar'}, file('$pwd'))", pwd, "foobar"],
                [fromStringArray(), "Runtime.getRuntime().exec(command, new String[] {'FOOBAR=foobar'}, file('$pwd'))", pwd, "foobar"],
                // Null argument handling
    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/Execute1StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                // varInitializer | processCreator | expectedPwdSuffix | expectedEnvVar
                [fromString(), "execute(command)", "", ""],
                [fromGroovyString(), "execute(command)", "", ""],
                [fromStringArray(), "execute(command)", "", ""],
                [fromStringList(), "execute(command)", "", ""],
                [fromObjectList(), "execute(command)", "", ""],
                // Spread calls
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec2InstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromGroovyString(), "Runtime.getRuntime().exec(command, new String[] {'FOOBAR=foobar'})", "", "foobar"],
                [fromStringArray(), "Runtime.getRuntime().exec(command, new String[] {'FOOBAR=foobar'})", "", "foobar"],
                // Null argument handling
                [fromString(), "Runtime.getRuntime().exec(command, null)", "", ""],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

                            def command = "\${rawCommand.toString()}"
                        """
                }
            }
        }
    
        static VarInitializer fromStringArray() {
            return new VarInitializer("String[]") {
                @Override
                String getGroovy(List<String> cmd) {
                    return """String[] command = [${ShellScript.cmdToVarargLiterals(cmd)}]"""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top