chore: do not use electron sandbox on linux by default#38997
chore: do not use electron sandbox on linux by default#38997pavelfeldman merged 1 commit intomicrosoft:mainfrom
Conversation
| if (os.platform() === 'linux') { | ||
| const runningAsRoot = process.geteuid && process.geteuid() === 0; | ||
| if (runningAsRoot && electronArguments.indexOf('--no-sandbox') === -1) | ||
| if (!options.chromiumSandbox && electronArguments.indexOf('--no-sandbox') === -1) |
There was a problem hiding this comment.
won't it spam into the terminal now if running not as root?
There was a problem hiding this comment.
When running as non-root it won't use sandbox. I don't think it spams.
Test results for "MCP"5 failed 3441 passed, 116 skipped Merge workflow run. |
Test results for "tests 1"10 failed 7 flaky34181 passed, 668 skipped Merge workflow run. |
No description provided.