Python scripts and return codes

Aahz Maruch aahz at panix.com
Fri Sep 8 23:28:31 CEST 2000


In article <39B94FF4.3DAFF592 at spss.com>,
Gunars Lucans  <gunars at spss.com> wrote:
>
>I had tried sys.exit(rc) a few days ago and I'd swear it didn't return
>anything but zero back to the shell.  That was on a Win98 system with
>version 1.5.2 or 1.6b1.  Right now, with 2.0b1 on NT4, it works like
>a charm.  I'll try to pin down where I went wrong before.  Thanks for
>your help!

Note that if somehow COMMAND or CMD gets invoked, you'll never see a
return code.
-- 
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Usenet is not a democracy.  It is a weird cross between an anarchy 
and a dictatorship.  --Aahz



More information about the Python-list mailing list