I always thought that a child process will be in the same process group as the parent process. But I have read the following from here:
if you run some_app from the shell, the shell creates a new process group for it, and makes that the foreground process group of the session.
cat, and I found out that
cat indeed has a different process group id than
bash. Is this a
bash only behavior to have the child process be in a different group?