I'm working on a peice of software that sends some simple commands to a console based application which my application will start, a bukkit server
This bukkit server is started by the execution of a .bat command, which i'll quote below, which opens a console window from which commands can be entered by the user.
java -Xmx2048M -jar craftbukkit-1.6.4-R2.0.jar -o false
This creates this window:
My question is, if my program was to run this bat file to start the server, will I still be able to send and read lines from the subsiquent console application the same as if I were to run a console .exe directly?
If I can't, are there any workarounds?