I m doing a project using eclipse plugins in jave to create an ide like eclipse that runs vue scripts.Presently this programs are executed in console.I have created a GUI to write these program,when i press the run button in my GUI,I need to get back the output to my GUI Console view after running is completed.
How shall i do this?Can anyone help me in doing this?
How are you starting the programs? If you use
Runtime.exec(), as a result you get aProcess. You can callProcess.getOutputStream()to get hold of the output stream of spawned process, and then read lines from it and output them to your GUI console view.