executing an .exe program from java and getting the output

greenspun.com : LUSENET : Java Programming : One Thread

Say I do (just as an example):

p=rt.exec("cmd /c type test.txt");

Any way to get the output of that?


-- Pavel Chernikov (pchernik@level-iv.com), September 20, 2002


my penise to your valva

-- hadifanayi (hadi_fanayi@yahoo.com), November 04, 2002.

Moderation questions? read the FAQ