Assuming it is j.exe and not jconsole.exe, my guess is that the shutdown
fails because of the 'Do you want to close?' message box that J issues when
it gets the shutdown message. You could track down where this wd'mb ...' is
issued and patch in a way to avoid it for you task. If you try this and it
works let us know as we should probably provide a standard way to disable
that mb.
----- Original Message -----
From: "Devon McCormick" <[EMAIL PROTECTED]>
To: "J-programming forum" <[email protected]>
Sent: Wednesday, July 04, 2007 1:40 AM
Subject: [Jprogramming] Signal for system shutdown?
Members of the Forum -
I have a J process that runs in the background and spawns other processes.
The problem is, when I shut down my system, the shutdown halts with a
message
telling me the system couldn't shut down J and asking if I want to
proceed.
Does anyone know how I can catch the system shutdown signal, assuming
there
is such a thing, and make my program a better (Windows) citizen? That is,
I'd
like it to shut itself down without requiring manual intervention when
everything else
is being shut down.
Thanks,
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm