Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
    Bookmark Topic Watch Topic
  • New Topic

Processbuidler problem  RSS feed

 
jagadeesh babu grandhi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi all,

In my project , I have to interact with octave (scientific computation tool), I have to give the input and get the output from octave. So , I created a process using processbuilder class. Icreated two streams output stream and inputstream for giving input to octave process and getting output from octave process and I redirected the errorstream to inputStream , so -that, if there is any error occurs , I can directly get the output and error for corresponding input . In this case, till the time I give the octave command properly as input , then it is giving me the output correctly, suppose when an invalid octave command is given , then the process is not responding and also not terminating, and for further input (proper or improper) I am not able to get the output. Please give me a reply, very urgent. anybody please help me...
thank you,
regards,
jag......
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Once is enough, thank you. Please Use One Thread Per Question.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!