How to run a command in cmd, and open it up to allow input? (Java) -


i'm making swing program used run c++ programs g++, i'm stuck on running program. tried using runtime.getruntime() or that, didn't seem work. , also, using runs command, , doesn't allow input. obviously, it'll run program, need able receive command line input, there way run command opening cmd , executing command in instance of program, allowing user type things in?

have @ processbuilder class, think you're asking: https://docs.oracle.com/javase/7/docs/api/java/lang/processbuilder.html


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -