Gustavo Hennemann wrote:
Runtime.getRuntime().exec() -. Works, but hangs the applications after some time of use because of the buffer that is filled with the return values.
Gustavo Hennemann wrote:I understood what you mean about purging the Process stdout and stderr, but, how about the redirecting this outputs to null devices or to null files? What do you think?
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Winston Gutkowski wrote:
Gustavo Hennemann wrote:I understood what you mean about purging the Process stdout and stderr, but, how about the redirecting this outputs to null devices or to null files? What do you think?
Do you need them? Are you ever likely to? - for example: if the command fails, and you don't know why?
My policy from my sysadmin scripting days: NEVER direct syserr to a sink. But whether it holds in this case, I have absolutely no idea.
Winston
Gustavo Hennemann wrote:If these applications fails, I don't care, there is no interaction between them and my program, is not a big problem..
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |