- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 246 for WorkingDir (0.3 sec)
-
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy
.printWorkingDir() .writeTo(testDirectory, "script") def workingDir = testDirectory.createDir("workdir") buildFile """ def execProvider = providers.exec { ${cmdToExecConfig(*testScript.commandLine)} workingDir("${TextUtil.escapeString(workingDir.path)}") } println(execProvider.standardOutput.asText.get())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecActionFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 15 17:11:21 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.JavaExec.xml
</tr> <tr> <td>executable</td> <td><filename>java</filename> executable for current JVM</td> </tr> <tr> <td>workingDir</td> <td><literal>project.projectDir</literal></td> </tr> <tr> <td>environment</td> <td>Current process' environment</td> </tr>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.Test.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginConfigurationIntegrationTest.groovy
} """ when: run("installDist") def out = new ByteArrayOutputStream() def executer = new ScriptExecuter() executer.workingDir = testDirectory executer.standardOutput = out executer.commandLine = "build/install/test/bin/test" def result = executer.run() then: result.assertNormalExitValue()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonStarter.java
} } private DaemonStartupInfo startProcess(List<String> args, File workingDir, File gradleUserHome, InputStream stdInput) { LOGGER.debug("Starting daemon process: workingDir = {}, daemonArgs: {}", workingDir, args); Timer clock = Time.startTimer(); try { GFileUtils.mkdirs(workingDir); DaemonOutputConsumer outputConsumer = new DaemonOutputConsumer();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 10.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultProcessForkOptionsTest.groovy
options.executable == null !options.environment.empty } def resolvesWorkingDirectoryOnGet() { when: options.workingDir = 12 then: 1 * resolver.resolve(12) >> baseDir options.workingDir == baseDir } def convertsEnvironmentToString() { when: options.environment = [key1: 12, key2: "${1+2}", key3: null] then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonFactoryTest.groovy
@Subject factory = new WorkerDaemonFactory(clientsManager, buildOperationRunner, workerDaemonClientCancellationHandler) def workingDir = new File("some-dir") def projectCacheDir = new File("some-cache-dir") def options = Stub(DaemonForkOptions) def requirement = new ForkedWorkerRequirement(workingDir, projectCacheDir, options) def spec = Stub(IsolatedParametersActionExecutionSpec) def setup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:57:50 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/processenvironment/ProcessEnvironmentTest.groovy
System.getenv("TEST_ENV_2") == null } @Requires(UnitTestPreconditions.WorkingDir) def "can get working directory of current process"() { expect: env.processDir.canonicalFile == new File('.').canonicalFile } @Requires(UnitTestPreconditions.WorkingDir) def "can get set working directory of current process"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docsTest/java/org/gradle/docs/samples/IntegrationTestSamplesRunner.java
super(testClass); } @Override protected CommandExecutor selectExecutor(ExecutionMetadata executionMetadata, File workingDir, Command command) { return new IntegrationTestSamplesExecutor(workingDir, command.isExpectFailure()); } @Nullable @Override protected File getImplicitSamplesRootDir() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 29 22:10:58 UTC 2023 - 3K bytes - Viewed (0)