Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to run springboots processbuilder

@PostConstruct
	public void doLog()throws IOException {
		ProcessBuilder processBuilder = new ProcessBuilder();
		processBuilder.command("python3","hello.py");
		processBuilder.directory(new File("src"));

		processBuilder.start();
		log.info("the services is running");
	}
 
PREVIOUS NEXT
Tagged: #run #springboots #processbuilder
ADD COMMENT
Topic
Name
3+1 =