Hello i have created a new terminal session using java(on mac) Runtime.getRuntime().exec() later on in my java program i want to get hold of the terminal that i had created earlier. Is there any way to do that?
Also how can be "ctrl+c" executed in terminal through java program