'Wait for the daemonization success.
@param readPipe: file descriptor to read start information from.
@type readPipe: C{int}
@return: code to be passed to C{os._exit}: 0 for success, 1 for error.
@rtype: C{int}'

def _waitForStart(self, readPipe):

    data = untilConcludes(os.read, readPipe, 100)
    dataRepr = _bytesRepr(data[2:])
    if (data != '0'):
        msg = ('An    error    has    occurred:    %s\nPlease    look    at    log    file    for    more    information.\n' % (dataRepr,))
        untilConcludes(sys.__stderr__.write, msg)
        return 1
    return 0
