Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for GetCommandLine (0.21 sec)

  1. maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java

            this.classWorld = classWorld;
            this.request = new DefaultMavenExecutionRequest();
        }
    
        public String[] getArgs() {
            return args;
        }
    
        public CommandLine getCommandLine() {
            return commandLine;
        }
    
        public ClassWorld getClassWorld() {
            return classWorld;
        }
    
        public String getWorkingDirectory() {
            return workingDirectory;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 10:32:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/AbstractExecHandleBuilder.java

        }
    
        public abstract List<String> getAllArguments();
    
        protected List<String> getEffectiveArguments() {
            return getAllArguments();
        }
    
        @Override
        public List<String> getCommandLine() {
            List<String> commandLine = new ArrayList<>();
            commandLine.add(getExecutable());
            commandLine.addAll(getAllArguments());
            return commandLine;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 06 16:16:31 UTC 2020
    - 6K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-runtime/process-services/src/main/java/org/gradle/process/BaseExecSpec.java

        /**
         * Returns the full command line, including the executable plus its arguments.
         *
         * @return The full command line, including the executable plus its arguments
         */
        List<String> getCommandLine();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThat(request.getUserProperties().getProperty("valTopDirectory"), is("myTopDirectory/pom.xml"));
            assertThat(request.getCommandLine().getOptionValue('f'), is("myRootDirectory/my-child"));
            assertThat(request.getCommandLine().getArgs(), equalTo(new String[] {"prefix:3.0.0:bar", "validate"}));
        }
    
        @ParameterizedTest
        @MethodSource("activateBatchModeArguments")
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/test/groovy/org/gradle/process/internal/JavaExecHandleBuilderTest.groovy

            when:
            List commandLine = builder.getCommandLine()
    
            then:
            String executable = Jvm.current().getJavaExecutable().getAbsolutePath()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 15 17:11:21 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/JavaExec.java

            return javaExecSpec.isIgnoreExitValue();
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        @Internal
        public List<String> getCommandLine() {
            return javaExecSpec.getCommandLine();
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public List<CommandLineArgumentProvider> getJvmArgumentProviders() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  9. maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            this.settingsDecrypter = settingsDecrypter;
        }
    
        @Override
        public void process(CliRequest cliRequest) throws Exception {
            CommandLine commandLine = cliRequest.getCommandLine();
            String workingDirectory = cliRequest.getWorkingDirectory();
            MavenExecutionRequest request = cliRequest.getRequest();
    
            File userSettingsFile;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:04:04 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. 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)
Back to top