- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for setCommandLine (0.1 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java
createClone.onlyIf(task -> this.gitExtension.getCheckoutDir().get().exists() == false); createClone.setCommandLine(asList("git", "clone", project.getRootDir(), gitExtension.getCheckoutDir().get())); }); TaskProvider<LoggedExec> findRemoteTaskProvider = tasks.register("findRemote", LoggedExec.class, findRemote -> {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 9.9K bytes - Click Count (0) -
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) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java
ByteArrayOutputStream stderr = new ByteArrayOutputStream(); final ExecResult execResult = execOperations.exec(spec -> { // The redundant cast is to silence a compiler warning. spec.setCommandLine((Object[]) args); spec.setStandardOutput(stdout); spec.setErrorOutput(stderr); spec.setIgnoreExitValue(true); });
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 14.8K bytes - Click Count (0)