Hi All,
Thanks for taking time in helping me out.
Just a guess, did you really want to pass the string "args" to the external program of did you want to pass the contents of a variable args?
Let me explain what I am trying to accomplish,
I have a executable which will Transcribe the Speech to text and I have to pass two parameters the first one is Filename to which the text has to be written and the second is Status.
and I am running the process using Runtime.exec() it seems that it is working fine for sometime and it is Transcribing the Speech to text and writing it in file but it stops after sometime, one Interesting thing I've noticed here is that it stops writing to file after every 488 - 491 byte chunks.
while going through,
Michael Daconta's article "when Runtime.exec() won't
I came across this line
Because some native platforms only provide limited buffer size for standard input and output streams, failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, and even deadlock.
is this got anything to do with the execution pattern ?
Since I am new to programming, I don't know where I am going wrong
Thanks