cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sreenivas reddy <yssr_...@yahoo.com>
Subject java problem in XSP
Date Fri, 10 Sep 2004 06:49:06 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message