This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Calling RegisterServiceProcess from setsid ?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]