diff --git a/src/omnisharp/launcher.ts b/src/omnisharp/launcher.ts index e80ef9060..adf9d3f2f 100644 --- a/src/omnisharp/launcher.ts +++ b/src/omnisharp/launcher.ts @@ -353,7 +353,7 @@ async function launchDotnet(launchInfo: LaunchInfo, cwd: string, args: string[], argsCopy.unshift(`"${launchInfo.DotnetLaunchPath ?? launchInfo.LaunchPath}"`); } - const process = spawn(command, argsCopy, { detached: false, cwd, env: dotnetInfo.env }); + const process = spawn(command, argsCopy, { detached: false, cwd, env: dotnetInfo.env, shell: true }); return { process,