Quote:
Originally Posted by Matthijs
The answer from TAO on this question (that we've raised during our development as well):
It will not get you much further, but at least make it a bit clearer.
Edit: you may be able to fork off a process from the C lib and call that using JNI...
|
I looked into getting a full Runtime.exec(...) but alas the details for how to create java.io.InputStream and java.io.OutputStream to a given Linux FD are a mystery.
The basic problem is with java.io.FileDescriptor, there is no obvious way to create one from JNI with the FD set correctly.