From: Zac Medico Date: Sun, 13 Jul 2008 11:54:13 +0000 (-0000) Subject: In can_poll_tty(), direct bash's stderr into the pty since we don't want X-Git-Tag: v2.2_rc2~109 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1dbc9399f3edde5140a61ec69ed54934b4dc6f51;p=portage.git In can_poll_tty(), direct bash's stderr into the pty since we don't want so see any error message it generates (due to PipeReader closing it's end of the pty). The error message is irrelevant since all we want to know is whether or not the data is successfully transmitted through the pty. svn path=/main/trunk/; revision=11037 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index ac2d63b28..12cd9c690 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -8009,7 +8009,7 @@ def can_poll_pty(): producer = SpawnProcess( args=["bash", "-c", "echo -n '%s'" % test_string], - fd_pipes={1:slave_fd}, scheduler=scheduler) + fd_pipes={1:slave_fd,2:slave_fd}, scheduler=scheduler) consumer = PipeReader( input_files={"producer" : master_file},