cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: After calling curl in a bat file no other commands execute

From: member website <memberwebsite_at_gmail.com>
Date: Fri, 10 May 2013 10:47:20 +0100

*>> I have a bat file with the following commands (this is a stripped down
version *
*>> of the actual file for the purpose of demonstrating the problem): *
*>> *
*>> @echo off *
*>> *
*>> curl www.hotmail.com *
*>> *
*>> @echo on *
*>> *
*>> echo website retrieved *
*>> *
*>> Although the page is retrieved successfully, anything placed after the
call to *
*>> curl does not execute. Has anyone seen this before? *
*>> *
*>> I am running curl 7.30 64 bit on windows2008 R2. *

>Presumably, this only occurs with certain URLs, right? If you add the -v
>option to curl, do you see any clues as to why this might take place?
There are
>some legitimate reasons why it could happen, such as the server stalling
while
>returning the data.

Hi Dan

Actually this happens regardless of the url - I have tried it with quite a
few different urls. When I run the command with the -V option I see curl
connecting and retrieving the page successfully:

....

</body></html>

* Connection #0 to host www.google.com left intact

* Closing connection #0

Thanks

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-10