When SpawnProcess._start() spawns a process in the background, use /dev/null
authorZac Medico <zmedico@gentoo.org>
Thu, 17 Jul 2008 04:20:12 +0000 (04:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 17 Jul 2008 04:20:12 +0000 (04:20 -0000)
commit4d1eb74f1ccce825c7f3fdbb947d278fd61b12b5
tree4ff7a436717fbb3258ee0b16d4dd945b43fcba13
parentc47a195fc1034f358dea89219ef8e86ba37b422b
When SpawnProcess._start() spawns a process in the background, use /dev/null
so that any attempts to read from stdin will immediately return EOF instead
of blocking indefinitely. TODO: Use job control functions like tcsetpgrp()
to control access to stdin.

svn path=/main/trunk/; revision=11093
pym/_emerge/__init__.py