Welcome! Log In Create A New Profile

Advanced

Why does nginx -V output to stderr?

ADD SP
July 22, 2021 11:56PM
Hello!

I found that the command `nginx -V` is output to `stderr` instead of `stdout`, what is the reason for doing this?

I'm just asking this question out of curiosity.

Best Regards

ADD-SP

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Why does nginx -V output to stderr?

ADD SP July 22, 2021 11:56PM

Re: Why does nginx -V output to stderr?

Maxim Dounin July 23, 2021 09:52PM

Re: Why does nginx -V output to stderr?

ADD SP July 23, 2021 10:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready