Hello!
This might be quite advanced, and I'm not expecting it to be done right away.
I need help making a program that reads from another Java programs stream.
Or not just reading, I would also wan't to be enable to "insert" commands into the stream.
So first off, I need to run the JAR file.
Then I would wan't to read the text from cmd that comes up and show it in my other java program.
Regards
Worqy
Read programs stream
Page 1 of 13 Replies - 1486 Views - Last Post: 30 January 2011 - 10:56 AM
Replies To: Read programs stream
#2
Re: Read programs stream
Posted 30 January 2011 - 04:36 AM
See http://technojeeves..../52-runtimeexec
You need to download the code and look at collectProcessStreams
You need to download the code and look at collectProcessStreams
#3
Re: Read programs stream
Posted 30 January 2011 - 10:31 AM
Hey.
Downloaded the code and looking at it right now.
Any change you or someone else could give some guidance through it?
Regards
Worqy
Downloaded the code and looking at it right now.
Any change you or someone else could give some guidance through it?
Regards
Worqy
#4
Re: Read programs stream
Posted 30 January 2011 - 10:56 AM
Add rs2xml.jar to your classpath and you should be ok
Page 1 of 1

New Topic/Question
Reply



MultiQuote


|