def main(argv=None):
    if (argv is None):
        argv = sys.argv
    if (len(argv) == 1):
        sys.exit(run(os.getpid()))
    elif (len(argv) == 2):
        sys.exit(run(int(argv[1])))
    else:
        sys.exit(('usage: %s [pid]' % __file__))
def main(argv=None):
    if (argv is None):
        argv = sys.argv
    if (len(argv) == 1):
        sys.exit(run(os.getpid()))
    elif (len(argv) == 2):
        sys.exit(run(int(argv[1])))
    else:
        sys.exit(('usage: %s [pid]' % __file__))