Fix process.execPath returning parent process path instead of the helper in sandboxed renderer (#13839)
This commit is contained in:
parent
aacbd76baa
commit
db38c8b620
6 changed files with 35 additions and 8 deletions
|
@ -8,6 +8,19 @@ Electron's `process` object is extended from the
|
|||
[Node.js `process` object](https://nodejs.org/api/process.html).
|
||||
It adds the following events, properties, and methods:
|
||||
|
||||
## Sandbox
|
||||
|
||||
In sandboxed renderers the `process` object contains only a subset of the APIs:
|
||||
- `crash()`
|
||||
- `hang()`
|
||||
- `getHeapStatistics()`
|
||||
- `getProcessMemoryInfo()`
|
||||
- `getSystemMemoryInfo()`
|
||||
- `argv`
|
||||
- `execPath`
|
||||
- `env`
|
||||
- `platform`
|
||||
|
||||
## Events
|
||||
|
||||
### Event: 'loaded'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue