diff --git a/test/index.ts b/test/index.ts index 4ef31c70..8b024877 100644 --- a/test/index.ts +++ b/test/index.ts @@ -14,7 +14,7 @@ async function main(): Promise { cp.spawnSync(cli, [...args, '--install-extension', 'redhat.java'], { encoding: 'utf-8', stdio: 'inherit', - shell: true, + shell: process.platform === "win32", }); // The folder containing the Extension Manifest package.json