- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for setStandardOutput (0.11 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java
builder.setExecutable(getJavaLauncher().get().getExecutablePath().getAsFile()); builder.getMainModule().set("jdk.httpserver"); builder.setStandardOutput(System.out); builder.setErrorOutput(System.err); builder.setArgs(Arrays.asList("-p", getPort().get(), "-d", getDocsDirectory().get().getAsFile().getAbsolutePath()));
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 18 12:38:47 GMT 2024 - 2.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcSetupExtension.java
} if (project.getGradle().getStartParameter().isParallelProjectExecutionEnabled()) { loggedExec.args("--parallel"); } loggedExec.setStandardOutput(new IndentingOutputStream(System.out, unreleasedVersionInfo.get().version)); loggedExec.setErrorOutput(new IndentingOutputStream(System.err, unreleasedVersionInfo.get().version));Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Aug 18 09:11:28 GMT 2021 - 6.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantBasePlugin.java
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); if (matcher.find() == false) {
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/InternalBwcGitPlugin.java
findRemote.setCommandLine(asList("git", "remote", "-v")); ByteArrayOutputStream output = new ByteArrayOutputStream(); findRemote.setStandardOutput(output); findRemote.doLast(t -> { ExtraPropertiesExtension extraProperties = project.getExtensions().getExtraProperties();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
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 * @param remote the remote to use to updateCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 3K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java
project.exec(spec -> { spec.setExecutable("sysctl"); spec.args("-n", "hw.physicalcpu"); spec.setStandardOutput(stdout); }); _defaultParallel = Integer.parseInt(stdout.toString().trim()); } _defaultParallel = Runtime.getRuntime().availableProcessors() / 2; }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Aug 09 07:39:30 GMT 2021 - 3.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java
spec.setErrorOutput(errorOut); if (getLogger().isInfoEnabled() == false) { spec.setStandardOutput(new NullOutputStream()); } spec.setIgnoreExitValue(true); }); if (OS.current().equals(OS.LINUX) && result.getExitValue() == SIG_KILL_EXIT_VALUE) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 16.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantMachine.java
OutputStream progressStream = new ProgressOutputStream(vagrantSpec.command, progressHandler); execSpec.setStandardOutput(new TeeOutputStream(output, progressStream)); }); } // start the configuration VM if it hasn't been started yet void maybeStartVM() { if (isVMStarted) { return;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java
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); }); return new Result(execResult.getExitValue(), stdout.toString(), stderr.toString()); }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) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
project.exec(spec -> { spec.setExecutable("sysctl"); spec.args("-n", "hw.physicalcpu"); spec.setStandardOutput(stdout); }); _defaultParallel = Integer.parseInt(stdout.toString().trim()); } _defaultParallel = Runtime.getRuntime().availableProcessors() / 2;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0)