mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
fix: launch crash when null device is disabled on Windows (#47870)
fix: fix launch crash when null device is disabled on Windows add node flag node::ProcessInitializationFlags::kNoStdioInitialization Co-authored-by: yangzuohui <yangzuohui@bytedance.com> Co-authored-by: yangliu <yangliu.leo@bytedance.com>
This commit is contained in:
@@ -193,6 +193,11 @@ Disables the Chromium [sandbox](https://www.chromium.org/developers/design-docum
|
||||
Forces renderer process and Chromium helper processes to run un-sandboxed.
|
||||
Should only be used for testing.
|
||||
|
||||
### --no-stdio-init
|
||||
|
||||
Disable stdio initialization during node initialization.
|
||||
Used to avoid node initialization crash when the nul device is disabled on Windows platform.
|
||||
|
||||
### --proxy-bypass-list=`hosts`
|
||||
|
||||
Instructs Electron to bypass the proxy server for the given semi-colon-separated
|
||||
|
||||
Reference in New Issue
Block a user