Calling RegisterServiceProcess from setsid ?

Corinna Vinschen vinschen@redhat.com
Sat Jun 7 11:28:00 GMT 2003


On Fri, Jun 06, 2003 at 07:46:46PM -0400, Pierre A. Humblet wrote:
> I think I have figured out most of what's happening in what
> I reported on Wednesday.
> <http://cygwin.com/ml/cygwin-developers/2003-06/msg00037.html>
> 
> The outcomes depend on the way the program is written because
> of a Cygwin feature (don't know if design or accident).
> 
> -exim closes 0/1/2 then setsids
> -sshd setsids then closes 0/1/2 (actually sets them to /dev/null) 
> -inetd sets 0 to /dev/null, setsids, then closes 0/1/2 
> -cron setsids but doesn't close anything (that's why
>    Ronald Landheer-Cieslak is reporting problem on the list)

I've send a mail to the cygwin list about that yesterday:
http://cygwin.com/ml/cygwin/2003-06/msg00369.html

Corinna

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



More information about the Cygwin-developers mailing list