how JNI handle file streams within native code? especially, the stdin, stdout and stderr?
0 posts in topic
Flat View  Flat View

Posted By:   Su_Ma
Posted On:   Tuesday, August 21, 2007 03:22 PM

I am trying to make use a piece of c code which prints usefull information to stdout, how do my java code (via JNI) manipulate the stdin/stdout steams of native code OR how should I implement the JNI c code to handle stdin/stdout of native c code?

the native code is treated as another process or not? I am trying to avoid to use IPC, exec and pipes under linux.

About | Sitemap | Contact