Compare session list before and after fork to reliably detect which session is the newly created one. Avoids relying on parsing output that may not contain session ID.
Compare session list before and after fork to reliably detect which session is the newly created one. Avoids relying on parsing output that may not contain session ID.