Cygrunsrv and spawned processes

Corinna Vinschen corinna-cygwin@cygwin.com
Sun Dec 7 15:06:00 GMT 2003


On Dec  5 18:00, Brian Ford wrote:
> 2003-12-05  Brian Ford  <ford@vss.fsi.com>
> 
> 	* cygrunsrv.cc (terminate_child): Send the signal to the whole
> 	processes group.
> 
> --- cygrunsrv.cc	2003-12-05 17:48:26.250000000 -0600
> +++ cygrunsrv.cc.orig	2003-12-05 17:48:13.520000000 -0600
> @@ -978,7 +978,7 @@ terminate_child ()
>        sleep (1);
>      else
>        {
> -	kill (-server_pid, termsig);
> +	kill (server_pid, termsig);
>  	report_service_status ();
>  	return 0;
>        }

Thanks, I've just uploaded a new version of cygrunsrv which contains
this patch.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list