Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(v6.x backport) process: add --redirect-warnings command line argument #14480

Commits on Oct 10, 2017

  1. process: add --redirect-warnings command line argument

    The --redirect-warnings command line argument allows process warnings
    to be written to a specified file rather than printed to stderr.
    
    Also adds an equivalent NODE_REDIRECT_WARNINGS environment variable.
    
    If the specified file cannot be opened or written to for any reason,
    the argument is ignored and the warning is printed to stderr.
    
    If the file already exists, it will be appended to.
    
    PR-URL: nodejs#10116
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Michal Zasso <targos@protonmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    jasnell authored and sam-github committed Oct 10, 2017
    Configuration menu
    Copy the full SHA
    bc89407 View commit details
    Browse the repository at this point in the history
  2. src: make copies of startup environment variables

    Mutations of the environment can invalidate pointers to environment
    variables, so make `secure_getenv()` copy them out instead of returning
    pointers.
    
    This is the part of nodejs#11051 that
    applies to
    nodejs@03e89b3
    sam-github committed Oct 10, 2017
    Configuration menu
    Copy the full SHA
    63c1ce4 View commit details
    Browse the repository at this point in the history