Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does anyone here know how to test t

Status
Not open for further replies.

JavaDude32

Programmer
Aug 25, 2001
180
US
Does anyone here know how to test to see if a GUI will run and if not, then how to make it run a console? Also, why doesn't such commands as dir (ran under the MS DOS prompt, haven't tested with Linux yet) work with the following:
Runtime the_runtime = Runtime.getRuntime();
Process p = the_runtime.exec('dir');
p.waitFor();

Thanks for any help anyone can offer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top