changed:
- # build the command to run the sub process
# build the command to run the sub process:
# this uses the python from your path; if this
# not the one required to run Roundup, use instead:
# '%s/bin/python %s'%(sys.prefix, ...
added:
class devnull:
def write(self, *args):
pass
def writelines(self, *args):
pass
def flush(self, *args):
pass
added:
# throw away anything that might be written to stdout
# because the real stdout is a pipe that our caller does not
# read from and that therefore might block
sys.stdout = devnull()
added:
History:
- 07.03.2007: added remark abour Python prefix, added stdout redirection to avoid deadlock -- Patrick Ohly