| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Subject: | Stopping bash script services under NT |
| To: | cygwin AT cygwin DOT com |
| From: | fjmarkus AT sundn DOT de |
| Date: | Thu, 22 Mar 2001 19:36:13 +0100 |
| Message-ID: | <OFC828708E.853EB6DE-ONC1256A17.006507F2@sundn.de> |
| X-MIMETrack: | Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.5 |September |
| 22, 2000) at 22.03.2001 19:36:14 | |
| MIME-Version: | 1.0 |
Hi, I installed an NT service using srvany.exe which starts rmiregistry.exe from a bash script. Everything works fine until I try to stop the service. Srvany and one instance of bash terminate but rmiregistry and another bash (created while executing rmiregistry) remain. I tried to catch the terminate signal in the bash script but obviously TerminateProcess() sends none. Is it possible to catch the TerminateProcess() from srvany? If not, can I prevent the second bash from beeing started/forked? Any other ideas? Franz-J. Markus -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |