Keep stdin (file descriptor 0) open in the pager's child process.
authorW. Trevor King <wking@drexel.edu>
Sat, 25 Feb 2012 20:05:04 +0000 (15:05 -0500)
committerW. Trevor King <wking@drexel.edu>
Sat, 25 Feb 2012 20:05:08 +0000 (15:05 -0500)
commit1ccb0019b16b064dfde1e320b7921c82e8409f5b
tree319f84d1d7dee512767ec4895c51052a497a3fc8
parent2c9ae15f53aef57d28091b237c193c653c6e80dd
Keep stdin (file descriptor 0) open in the pager's child process.

This fixes the underlying problem that we worked around in commit
2c9ae15f53aef57d28091b237c193c653c6e80dd.  Now even

  $ echo 'some bug | be --paginate new -

will work instead of raising IOError: [Errno 9] Bad file descriptor.
libbe/ui/util/pager.py