- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for GetCommandLine (0.24 sec)
-
subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy
* The list also contains an absolute path to the script (which may contain spaces). * * @return the list of command line elements to start this script. */ abstract List<String> getCommandLine(); /** * Returns a command line elements that can be used to start this script. * The resulting list can be used as an argument for the {@link ProcessBuilder} or Groovy's {@code execute} method.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/DelegatingBaseExecSpec.java
return this; } @Override default OutputStream getErrorOutput() { return getDelegate().getErrorOutput(); } @Override default List<String> getCommandLine() { return getDelegate().getCommandLine(); } @Override default String getExecutable() { return getDelegate().getExecutable(); } @Override default void setExecutable(String executable) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/ProcessOutputValueSource.java
* executable name. This is a mandatory property. * * @return the command line property */ ListProperty<String> getCommandLine(); // The ExecSpec's environment can be configured in two ways. First is to append some // variables to the current environment. We don't want to freeze the whole environment as an
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpec.java
return DelegatingBaseExecSpec.super.copyTo(options); } public void copyToParameters(ProcessOutputValueSource.Parameters parameters) { parameters.getCommandLine().set(getCommandLine()); parameters.getFullEnvironment().set(fullEnvironment); parameters.getAdditionalEnvironmentVariables().set(additionalEnvVars.isEmpty() ? null : additionalEnvVars);
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/jvm/language-java/src/main/java/org/gradle/api/tasks/javadoc/internal/JavadocGenerator.java
} try { execAction.execute(); } catch (ExecException e) { LOG.info("Problems generating Javadoc." + "\n Command line issued: " + execAction.getCommandLine() + "\n Generated Javadoc options file has following contents:\n------\n{}------", GFileUtils.readFileQuietly(spec.getOptionsFile()));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/ExecSpecFactory.java
import org.gradle.process.JavaExecSpec; /** * The factory to build appropriate ExecSpec and JavaExecSpec instances. The returned * instances, especially JavaExecSpec, must conform to the {@link BaseExecSpec#getCommandLine()} contract. * * These instances will not be exposed to the user code directly, so there is no need of decoration. */ @ServiceScope(Scope.Build.class) public interface ExecSpecFactory { ExecSpec newExecSpec();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProcessOutputValueSourceTest.groovy
withDefaultEnvironment(it) } }.get() then: 1 * execOperations.exec(_) >> { Action<? super ExecSpec> action -> action.execute(spec) } spec.getCommandLine() == ["echo", "hello"] spec.environment == System.getenv() } def "full environment is propagated to execOperations"() { given: def spec = specFactory.newExecAction()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/BaseExecSpec.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 3.3K bytes - Viewed (0) -
src/os/exec_windows.go
if e != nil { return nil, NewSyscallError("OpenProcess", e) } return newHandleProcess(pid, uintptr(h)), nil } func init() { cmd := windows.UTF16PtrToString(syscall.GetCommandLine()) if len(cmd) == 0 { arg0, _ := Executable() Args = []string{arg0} } else { Args = commandLineToArgv(cmd) } } // appendBSBytes appends n '\\' bytes to b and returns the resulting slice.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go
} return string(commandLine) } // DecomposeCommandLine breaks apart its argument command line into unescaped parts using CommandLineToArgv, // as gathered from GetCommandLine, QUERY_SERVICE_CONFIG's BinaryPathName argument, or elsewhere that // command lines are passed around. // DecomposeCommandLine returns an error if commandLine contains NUL.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 7.3K bytes - Viewed (0)