mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 23:06:49 +01:00
Revert "🐛 use pipe for stdin when getting the user shell env"
This reverts commit 78bc68a1d0.
Fixes #23639
This commit is contained in:
@@ -27,7 +27,7 @@ function getUnixShellEnvironment(): TPromise<typeof process.env> {
|
||||
const command = `'${process.execPath}' -p '"${mark}" + JSON.stringify(process.env) + "${mark}"'`;
|
||||
const child = cp.spawn(process.env.SHELL, ['-ilc', command], {
|
||||
detached: true,
|
||||
stdio: ['pipe', 'pipe', process.stderr],
|
||||
stdio: ['ignore', 'pipe', process.stderr],
|
||||
env
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user