Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for GetCommandLine (0.29 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. 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)
  6. 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)
  7. 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