- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for setCommandLine (0.32 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java
final ByteArrayOutputStream stdout = new ByteArrayOutputStream(); execOperations.exec(spec -> { // The redundant cast is to silence a compiler warning. spec.setCommandLine((Object[]) args); spec.setStandardOutput(stdout); }); return stdout.toString(StandardCharsets.UTF_8); } /** * Updates the git repository from the specified remote
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantBasePlugin.java
void checkVersion(Project project, String tool, Pattern versionRegex, int... minVersion) { ByteArrayOutputStream pipe = new ByteArrayOutputStream(); project.exec(spec -> { spec.setCommandLine(tool, "--version"); spec.setStandardOutput(pipe); }); String output = pipe.toString(StandardCharsets.UTF_8).trim(); Matcher matcher = versionRegex.matcher(output);Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.1K bytes - Click Count (0)