delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/17/15:35:33

From: "Ruth Baigent" <ruth DOT baigent AT virgin DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: anyone used java with djgpp?
Date: Thu, 17 Jun 1999 20:07:10 -0700
Organization: Virgin News Service
Lines: 18
Message-ID: <7kbgbc$cad$1@nclient3-gui.server.virgin.net>
NNTP-Posting-Host: 194.168.65.204
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi
I'm trying to integrate some legacy code, compiled in DJGPP, with a java
app.
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.
BUT the DJGPP app never exits, thus blocking the java app forever.  When run
from the command line app.exe is fine.
I made a really simple DJGPP app to test this, and it was exactly the same -
the process never exits, and the java is held up forever.
Any ideas why this should happen?

thanks

RB


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019