View Single Post
Old 05-29-2007, 04:29 PM   #15
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
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.
scotty1024 is offline   Reply With Quote