- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 51 for setStandardOutput (0.37 sec)
-
platforms/software/security/src/main/java/org/gradle/security/internal/gnupg/GnupgSignatory.java
execOperations.exec(spec -> { spec.setExecutable(executable); spec.setArgs(arguments); spec.setStandardInput(prepareStdin(input)); spec.setStandardOutput(output); } ); } private InputStream prepareStdin(InputStream input) { if (passphrase != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/BaseExecSpec.java
* after the process completes. * * @param outputStream The standard output stream for the process. Must not be null. * @return this */ BaseExecSpec setStandardOutput(OutputStream outputStream); /** * Returns the output stream to consume standard output from the process executing the command. Defaults to {@code * System.out}. * * @return The output stream
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpecTestBase.groovy
then: thrown UnsupportedOperationException } def "setting output stream is forbidden"() { when: specUnderTest.setStandardOutput(new ByteArrayOutputStream()) then: thrown UnsupportedOperationException } def "setting error stream is forbidden"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy
withConnection { def launcher = newBuild().forTasks('printSystemProperty') launcherSpec.delegate = launcher launcherSpec() launcher.setStandardOutput(out) launcher.run() } } private boolean hasNoSystemProperty(String key, String value = null) { !out.toString().contains("$key=${value ?: ""}") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiConnection.groovy
configurableLauncher.standardOutput = stdout configurableLauncher.standardError = stderr this.stdout = stdout this.stderr = stderr } T setStandardOutput(OutputStream outputStream) { configurableLauncher.standardOutput = new TeeOutputStream(outputStream, stdout) return configurableLauncher } T setStandardError(OutputStream outputStream) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpec.java
public InputStream getStandardInput() { throw new UnsupportedOperationException("Standard streams cannot be configured for exec output provider"); } @Override public BaseExecSpec setStandardOutput(OutputStream outputStream) { throw new UnsupportedOperationException("Standard streams cannot be configured for exec output provider"); } @Override public OutputStream getStandardOutput() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/problems-api-usage/sample-ide/src/main/java/org/gradle/sample/SampleIde.java
// Load the project BuildLauncher buildLauncher = connection.newBuild(); buildLauncher.addArguments("--quiet"); buildLauncher.setStandardOutput(System.err); buildLauncher.setStandardError(System.err); // Add a problem listener ProblemListener.createAndRegister(buildLauncher); // Configure the task to be executed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 08:50:13 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocator.java
exec.args(args); exec.executable(vswhereBinary.getAbsolutePath()); exec.setWorkingDir(vswhereBinary.getParentFile()); StreamByteBuffer buffer = new StreamByteBuffer(); exec.setStandardOutput(buffer.getOutputStream()); exec.setErrorOutput(NullOutputStream.INSTANCE); exec.setIgnoreExitValue(true); ExecResult result = exec.execute(); int exitValue = result.getExitValue();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/metadata/AbstractMetadataProvider.java
exec.args(args); exec.environment(environmentVariables); StreamByteBuffer buffer = new StreamByteBuffer(); StreamByteBuffer errorBuffer = new StreamByteBuffer(); exec.setStandardOutput(buffer.getOutputStream()); exec.setErrorOutput(errorBuffer.getOutputStream()); exec.setIgnoreExitValue(true); ExecResult result = exec.execute(); int exitValue = result.getExitValue();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 13:16:50 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r87/ProblemProgressEventCrossVersionTest.groovy
withConnection { connection -> connection.newBuild() .forTasks(":ba") .addProgressListener(listener) .setStandardError(System.err) .setStandardOutput(System.out) .addArguments("--info") .run() } then: thrown(BuildException) listener.problems.size() == 2 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 11:36:58 UTC 2024 - 6.7K bytes - Viewed (0)