M.N.A.Smadi enlightened us with: > my script must return codes which are based on the POSIX spec of > returning a positive value. A work perl version of my code uses > exit(code_num).
Use sys.exit(code_num). Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? Frank Zappa -- http://mail.python.org/mailman/listinfo/python-list