cURL
Haxx ad
libcurl
Automatically get a mirror near you





COMPARE PRICES:
Digital cameras, MP3 Players, Camcorders, Mobile phones, PDA, Computers, Electronics LCD monitors, Printers, Notebook, DVD Players, Motherboards, TV, ipod, Processors. See all...

Shopping cart software
Online collaboration software

SourceForge.net Logo

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

RE: curl return code 139

From: Nielsen Linus <Linus.Nielsen_at_elema.siemens.se>
Date: Tue, 10 Jul 2001 09:48:44 +0200

> I'm calling curl from a python script (using os.system() which
> returns the exit status). I first divide the exit code by
> 256 (because the code I want is in the upper 8 bits right?).

That might be the behaviour of the system() command, but not
curl.

> I first check to make sure it's divisible by 256 (which is
> was in my case). But the code (after / 256) was 139.

Strange. Curl should not be able to return such an error code.

> What error is that? I'm having trouble getting a verbose
> printout of the curl call because the -v option is what seems
> to cause the 139 error! And even weirder, calling curl
> on www.python.org causes the error while www.yahoo.com (for
> instance) does not.
>
> Has anyone seen anything like this?

No. But I haven't used python either.

Maybe you should try to use os.popen() or even os.popen3()
to be able to capture the output from curl.

/Linus
Received on 2001-07-10

These mail archives are generated by hypermail.

donate! Page updated October 16, 2006.
web site info