Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "gilles bourgeois" To: Subject: IPC message queue through JNI may not work because of java exec ! Date: Fri, 28 Feb 2003 08:42:45 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-MDRemoteIP: 192.168.1.90 X-Return-Path: gbourgeois AT yaccom DOT com X-MDaemon-Deliver-To: cygwin AT cygwin DOT com Hi folks, 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... thanks gilles -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/