From: Steven Penny <svnpenn@gmail.com>
To: cygwin@cygwin.com
Subject: silent option not silencing cURL error
Date: Thu, 01 Dec 2016 03:00:00 -0000 [thread overview]
Message-ID: <CAAXzdLWeMosC0aowDsefXZ2RZ0kowhC46csw7xpmMbcfeRASTg@mail.gmail.com> (raw)
$ curl --version
curl 7.51.0
Piping cURL to head gives me an error, as expected:
$ curl https://github.com/github | head
[...]
(23) Failed writing body
However adding the silent option, is not silencing it:
$ curl --silent https://github.com/github | head
[...]
(23) Failed writing body
I can quiet the error with:
curl https://github.com/github 2>/dev/null | head
but silent should be taking care of this. Note the Windows version here works as
expected:
http://bintray.com/vszakats/generic/curl
cross post:
http://stackoverflow.com/q/40901579/silent-option-not-silencing-curl-error
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2016-12-01 3:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-01 3:00 Steven Penny [this message]
2016-12-01 5:47 ` Brian Inglis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAXzdLWeMosC0aowDsefXZ2RZ0kowhC46csw7xpmMbcfeRASTg@mail.gmail.com \
--to=svnpenn@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).