def main(argv=None):
    log.startLogging(file('child.log', 'w'))

    if argv is None:
        argv = sys.argv[1:]
    if argv:
        klass = reflect.namedClass(argv[0])
    else:
        klass = ConsoleManhole
    runWithProtocol(klass)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/stdio.py/main/original