How to use ProcessBuilder to continually interact with a CLI program
问题 I use a CLI program regularly which is accessed through a docker container. Once I enter the container, I can start using my CLI program in question. The issue I'm having is I want to continue to interact with the same command line instance. Basically I'm trying to create a GUI program that will run "on top" of a CLI program. I just don't know how to keep sending commands to the same CLI instance: List<String> command = new ArrayList<String>(); command.add("cmd.exe" ); command.add("/c");