When using a pty for logging, use setsid() to create a new session and make the pty...
authorZac Medico <zmedico@gentoo.org>
Thu, 7 Jun 2007 12:02:59 +0000 (12:02 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 7 Jun 2007 12:02:59 +0000 (12:02 -0000)
commit42e9ac4b3e8f34b054e45bfb61c3d6e4153be8b1
treeb765cd3cea7d7c2769824112c77775366aa568c6
parent7c0107e9a4b5fa4f4c0a09af57693148ed0d0ffb
When using a pty for logging, use setsid() to create a new session and make the pty into the controlling terminal of the new session.  This makes interactive ebuild behave properly in interactive cases like check_license() where ${PAGER:-less} is invoked.

svn path=/main/trunk/; revision=6747
pym/portage/__init__.py
pym/portage/output.py
pym/portage/process.py