On Fri, Nov 28, 2014 at 11:42 PM, arisawa <[email protected]> wrote:
> rc(1) says:
>
> rfork [nNeEsfFm]
> Become a new process group using rfork(flags) where
> flags is composed of the bitwise OR of the rfork flags
> specified by the option letters (see fork(2)). If no
> flags are given, they default to ens. The flags and
> their meanings are: n is RFNAMEG; N is RFCNAMEG; e is
> RFENVG; E is RFCENVG; s is RFNOTEG; f is RFFDG; F is
> RFCFDG; and m is RFNOMNT.
>
> this sounds to me
> rfork
> is equivalent to
> rfork ens
yes. it also agrees with the source code.
http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/rc/plan9.c:/^execnewpgrp