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

process: patch more process properties during pre-execution #26945

Closed
wants to merge 2 commits into from

Commits on Apr 1, 2019

  1. process: store argv in Environment

    This gets rid of Environment::ExecutionMode as well now that
    we use the original arguments to determine execution mode.
    joyeecheung committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    442de1d View commit details
    Browse the repository at this point in the history
  2. process: patch more process properties during pre-execution

    Delay the creation of process properties that depend on
    runtime states and properties that should not be accessed
    during bootstrap and patch them during pre-execution:
    
    - process.argv
    - process.execPath
    - process.title
    - process.pid
    - process.ppid
    - process.REVERT_*
    - process.debugPort
    joyeecheung committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    f44207b View commit details
    Browse the repository at this point in the history