cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 10 May 2013 09:09:41 +0200

On Thu, May 09, 2013 at 04:46:31PM +0100, member website wrote:
> 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.

>>> Dan
-------------------------------------------------------------------
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