Answers for "how to run springboots processbuilder"

0

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");
	}
Posted by: Guest on August-28-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language