Hi
Process p=Runtime.getRuntime().exec(arg);
//in linux
BufferedReader br =new BufferedReader(new
InputStreamReader(p.getInputStream()));
while ((line = br.readLine()) != null){
System.out.println("line:"+sLine); }
I observe that for
1) arg="cp --help" it is returning something but for
arg="cp" there is nothing output
is there any otherway to print?
=====
Thanks & Regards,
Y.S.Sreenivas Reddy,
Sirivsetti Global Services,
Hyderabad.
Phone :+91-040-55330396
cell:+91 9849313313
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]