runCliProcess() — spring-boot Function Reference
Architecture documentation for the runCliProcess() function in CommandLineInvoker.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c9576a15_c512_2967_afcd_1ceac24a2c93["runCliProcess()"] 78fb0658_ee96_7956_c944_edf60d9da30f["invoke()"] 78fb0658_ee96_7956_c944_edf60d9da30f -->|calls| c9576a15_c512_2967_afcd_1ceac24a2c93 c2e5c123_1a7f_1e5a_0e91_d4a615b494d9["findLaunchScript()"] c9576a15_c512_2967_afcd_1ceac24a2c93 -->|calls| c2e5c123_1a7f_1e5a_0e91_d4a615b494d9 style c9576a15_c512_2967_afcd_1ceac24a2c93 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
cli/spring-boot-cli/src/intTest/java/org/springframework/boot/cli/infrastructure/CommandLineInvoker.java lines 68–80
private Process runCliProcess(String... args) throws IOException {
Path m2 = this.temp.toPath().resolve(".m2");
Files.createDirectories(m2);
Files.copy(Paths.get("src", "intTest", "resources", "settings.xml"), m2.resolve("settings.xml"),
StandardCopyOption.REPLACE_EXISTING);
List<String> command = new ArrayList<>();
command.add(findLaunchScript().getAbsolutePath());
command.addAll(Arrays.asList(args));
ProcessBuilder processBuilder = new ProcessBuilder(command).directory(this.workingDirectory);
processBuilder.environment().put("JAVA_OPTS", "-Duser.home=" + this.temp);
processBuilder.environment().put("JAVA_HOME", System.getProperty("java.home"));
return processBuilder.start();
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does runCliProcess() do?
runCliProcess() is a function in the spring-boot codebase.
What does runCliProcess() call?
runCliProcess() calls 1 function(s): findLaunchScript.
What calls runCliProcess()?
runCliProcess() is called by 1 function(s): invoke.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free