Skip to content

process: patch more process properties during pre-execution

process: store argv in Environment

This gets rid of Environment::ExecutionMode as well now that we use the original arguments to determine execution mode.

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
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading