This is the mail archive of the cygwin@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]

Re: 1.3.3-2: Process creation is possible with ppid = 0 and pgid = 0


See also "Re: 1.3.3-2: ps.exe bug for processes with a
zero ppid"
<http://cygwin.com/ml/cygwin/2001-10/msg00176.html> .

--- Robert Legros <robert_legros@yahoo.com> wrote:
> Hello,
> 
> It is possible to create a Cygwin process whose ppid
> and pgid are both zero.
> 
> If you type the following commands at the shell
> command prompt (bash or ash) :
>         sh -c "sleep 10 &"
>         ps
> you will see a process whose PPID and PGID are 0.
> 
> I really do suppose it was not meant to allow such a
> thing. Normally, a detached process should have ppid
> and pgid with value 1. That's what does occur when
> you
> type the following commands :
>         sleep 10 &
>         ps
> 
> Best Regards,
> 
> 
> 
> =====
> Robert Legros
> south Brussels, Belgium
> robert_legros@yahoo.com
> 

Best Regards,


=====
Robert Legros
south Brussels, Belgium
robert_legros@yahoo.com

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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