Once a process has started a child session, it can use DosSelectSession to control the child session.
A process calls DosSetSession to set the selectability and bonding of a child session.