| | |
Opening Terminal in linux using java
![]() |
•
•
Join Date: Oct 2008
Posts: 60
Reputation:
Solved Threads: 0
hi.....
im trying to run c,c++ programs in linux using java code.....
i have compiled the program and the .out file is also created....
im using the following code...
the problem is the terminal starts and closes after execution....
how to prevent that....
thanks in advance
im trying to run c,c++ programs in linux using java code.....
i have compiled the program and the .out file is also created....
im using the following code...
Java Syntax (Toggle Plain Text)
ProcessBuilder pb = new ProcessBuilder("gnome-terminal","-e",home+"/MyProjectFiles/"+filename+".out"); Process p = pb.start();
how to prevent that....
thanks in advance
![]() |
Other Threads in the Java Forum
- Previous Thread: Ignoring certain lines from a read file
- Next Thread: card game
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card chat class classes client code collision columns component constructor database designadrawingapplicationusingjavajslider draw eclipse editor error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer html ide image inetaddress input integer intellij j2me java javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle parsing plazmic print problem program programming project recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree unlimited utility webservices windows





