dcsimg
Read Output from a dump session
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   marco_baroetto
Posted On:   Friday, August 9, 2002 03:32 AM

I'm triying to get the output of a process i launch with

			
Runtime.getRuntime().exec("command");.


Obiuvsly I get the process input stream, pass it to a reader and so on..

I need to read the output of a dump session launching windump (win version of tcpdump) and write it to a file. I
know the total size of the resulting file have to be about 9Mb (i tryed it with command prompt redirection) but
at the end I only get about 1/5 of the output i expected.

If i test my class with a simple executable written in C which prints strings on standard out I'm able to get the complete output..

Re: Read Output from a dump session

Posted By:   Gautam_Marwaha  
Posted On:   Friday, August 9, 2002 04:16 AM

post your code
About | Sitemap | Contact