silent option not silencing cURL error
Steven Penny
svnpenn@gmail.com
Thu Dec 1 03:00:00 GMT 2016
$ 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
More information about the Cygwin
mailing list