This is the mail archive of the
cygwin
mailing list for the Cygwin project.
silent option not silencing cURL error
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 30 Nov 2016 21:00:29 -0600
- Subject: silent option not silencing cURL error
- Authentication-results: sourceware.org; auth=none
$ 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