Wrong exist status for os.system, os.poepen, etc.

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Mar 7 02:06:23 EST 2007


En Wed, 07 Mar 2007 02:50:59 -0300, Hendrik van Rooyen  
<mail at microcorp.co.za> escribió:

> "Paolo Pantaleo" <paolopantaleo at gmail.com> wrote:
>> >>> import os
>> >>> os.system("/tmp/x")
>> 5120
>>
> 256 times 20 is 5120
> this is a big/little endian little bug

No, it's the old "RTFM" one.

-- 
Gabriel Genellina




More information about the Python-list mailing list