Jump to content

Problem when trying to get input stream from MTA Server


Recommended Posts

Hello.

I am having a really weird problem here.

I'm trying to make a server GUI (that's a server with user interface so as to make server management easier than with a console app), and I'm trying to start the process.

Up to there, I can start it in JAVA.

Problem comes when I try to pass what is printed in the console to my app with getInputStream method from Process class (still java).

It's like when I try using BufferedReader next or nextLine() methods, thread gets stuck (fuck knows whats wrong there!!). No need to say nothing is 'passed'.

Any developer can help me with this? I just have tried and didn't succeed in fixing that!. Two days already trying to do it but still no clue how to. Even asked @ stack but nothing...

Thanks in advance

p.s: i'm using eclipse IDE for java 7

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...