node/lib/internal/process
Joyee Cheung 9dba96dc1a
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

PR-URL: https://github.com/nodejs/node/pull/26945
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2019-04-04 05:14:54 +08:00
..
esm_loader.js esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
execution.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
main_thread_only.js lib: rename validateMode to parseMode 2019-03-27 17:05:12 +01:00
per_thread.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
policy.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
promises.js process: make tick callback and promise rejection callback more robust 2019-01-06 10:28:47 +08:00
report.js report: remove unnecessary return in setters 2019-03-14 13:03:20 -07:00
stdio.js process: remove protection for SyncWriteStream destroy in stdio 2019-03-28 13:54:15 +01:00
task_queues.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
warning.js process: patch more process properties during pre-execution 2019-04-04 05:14:54 +08:00
worker_thread_only.js worker: create per-Environment message port after bootstrap 2019-03-19 21:00:48 +08:00