Calling RegisterServiceProcess from setsid ?

Corinna Vinschen
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.
> <>
> 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:


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

More information about the Cygwin-developers mailing list