Date: Sun, 20 Jun 1999 10:44:07 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Ruth Baigent cc: djgpp AT delorie DOT com Subject: Re: anyone used java with djgpp? In-Reply-To: <7kbgbc$cad$1@nclient3-gui.server.virgin.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 17 Jun 1999, Ruth Baigent wrote: > The java app calls the DJGPP-compiled app.exe with a system call > (System.exec("app.exe")). > As I understand this function it should run the app "as if" from the DOS > command line. I don't have any idea what System.exec does. What does the docs say? > BUT the DJGPP app never exits, thus blocking the java app forever. When run > from the command line app.exe is fine. Please give us some more information. For example, does the DJGPP program at all start? If so, does it do its job, or stops in the middle of it? Adding some simple debugging print-outs might be a good way to find answers to these questions. Also, pressing Ctrl-BREAK after the DJGPP application is launched should abort the DJGPP program and produce a crash traceback on the terminal. Running `symify' on that traceback would tell you where the program is stuck; reporting that information, together with the traceback, will probably shed some light on this mystery.