On Dec 14 10:12, Marco Atzeri via Cygwin wrote:
> On 05/12/2025 19:48, Corinna Vinschen via Cygwin wrote:
> 
> > > Right now, our newgrp is commandline compatible with Linux' newgrp from
> > > shadow-utils:
> > > 
> > > - A single '-' reinitializes the environment.
> > > - The group must be given as name, not as GID.
> > > 
> 
> Hi Corinnathe current version of newgroup is NOT doing so.
> It spins a new shell process

Yes, that is expected.  "Reinitializes" didn't mean to reinitialize
within the same shell, but by starting a new shell with the
reinitialized environment.  This is how it is supposed to work on
POSIX systems.


Corinna

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

Reply via email to