[gnutls-help] Quietening gnutls-cli

Jens Lechtenboerger jens.lechtenboerger at fsfe.org
Sat Oct 25 15:31:23 CEST 2014


On 2014-10-23, Raphael Cohn wrote:

> Hi,
>
> I'm trying to automate gnutls-cli. I'm running it as a background job from
> bash, with stdin and stderr redirected to a pair of FIFOs.
>
> However, I can't find a way to stop gnutls-cli from outputing connection
> status information on stdout rather than stderr - things like "Processed
> 242 CA certificate(s).".

I don’t think that you can suppress that output.  You need to read
past "- Simple Client Mode:\n\n"

Here is what I’m doing, with a link to my code:
https://blogs.fsfe.org/jens.lechtenboerger/?p=230

Best wishes
Jens




More information about the Gnutls-help mailing list