Mail Archives: djgpp/1999/06/20/03:48:11
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.
- Raw text -