Is there any way to make a Java program (in Windows) that just acts as a wrapper around a PE (.exe), passing all stdin input to the program and writing out to stdout everything that the PE writes out.
I need this because the interface for a program only allows Java classes, but I want it to run some code that I've put together in C++.
Thanks in advance.
edit: portability is 0% important. This only needs to work in Windows and will never be needed to work anywhere else.