I am writing a program in java that depends on a pre-compiled third party jar which is similar to my directory is. At runtime, my program checks if this file exists, then downloads it if it is not. Its main square is then executed. However, printed program prints a large volume of text directly on the console. Is there any way to 'capture' (and therefore hide) this output from Java 1.5+ stdout and apply directly to your parents' applications Return to
stdin ? I would ideally prefer the children program inside the same JVM, so I have the
runtime.axac () .
process builder class and
process Use square. Remember that if you do not control your stream properly, the process will be blocked.
No comments:
Post a Comment