Skip to content

Commit 62bf96e

Browse files
authored
Merge pull request #7070 from dibarbet/fix_windows_integration
Fix windows integration tests
2 parents 0edbb37 + f66432e commit 62bf96e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/vscodeLauncher.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ async function main() {
2222

2323
console.log('Display: ' + process.env.DISPLAY);
2424

25-
const result = cp.spawnSync(cli, [...args, '--install-extension', 'ms-dotnettools.vscode-dotnet-runtime'], {
25+
const fullArgs = [...args, '--install-extension', 'ms-dotnettools.vscode-dotnet-runtime'];
26+
console.log(fullArgs);
27+
const result = cp.spawnSync(cli, fullArgs, {
2628
encoding: 'utf-8',
2729
stdio: 'inherit',
30+
// Workaround as described in https://github.com/nodejs/node/issues/52554
31+
shell: true,
2832
});
2933
if (result.error) {
3034
throw new Error(`Failed to install the runtime extension: ${result.error}`);

0 commit comments

Comments
 (0)