I'm currently writing a program, wich should use TProcess to execute a java-Console in the Background and print its output into a Memo,
My Problem is, that the output of the .jar, wich is being executed by java
(wich is being executed by my Program)
Just goes to the java-console, not to the Pipe, where the java-console should stream its output,
so the memo just stays blank :/
If I don't give TProcess the option poUsePipes, I can read and see the output in the java-console.
If I start java indirect with a batchfile and execute an batchcommand before I start java, I can read the batchfiles output inside my memo, but from the place, where java is being executed, the output stops printing itself in the memo :$
Little "grafic"
http://hastebin.com/lecarufede.coffee(german, but I think it's readable)
My first post to this topic at lazarusforum.de:
http://www.lazarusforum.de/viewtopic.php?f=55&t=7307&p=65278#p65278(German, too. But you can find the used code there)
I hope the international lazarus-community can help me in solving this problem
mark332
PS: If you find mistakes in my english, please tell me
I'm german and still learning