This is the mail archive of the
mailing list for the Cygwin project.
IPC message queue through JNI may not work because of java exec !
- From: "gilles bourgeois" <gbourgeois at yaccom dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 28 Feb 2003 08:42:45 +0100
- Subject: IPC message queue through JNI may not work because of java exec !
I have a java graphical debugging tool which communicates with
a process (written in C)
both shall communicate through IPC message queue (historic : the tools where
running under solaris)
The point is :
>From java side, ipc message queue is created with the help of a native dll
beeing accessed through JNI
from c side, the running process bind to the IPC queue and read data, this
is OK if the process is ***launched from a cygwin shell***
(with or without gbd)
BUT : if the running process is launched from java (within a
System.exec(PROCESS)), the C-process CANNOT bind to the IPC queue!!
I think my process does not share the same environment or what ?
if someone got an idea about this ?, I may use another solution before going
through a socket solution...
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html