diff options
Diffstat (limited to 'extension/src/activation/environmentSetup.ts')
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index 10a9f75f..d6fe4261 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -219,23 +219,10 @@ export async function startContinuePythonServer() { // Run the executable console.log("Starting Continue server..."); const child = spawn(destination, { - shell: true, - }); - child.stderr.on("data", (data: any) => { - console.log(data.toString()); - }); - - child.on("error", (error: any) => { - console.log(`error: ${error.message}`); - }); - - child.on("close", (code: any) => { - console.log(`child process exited with code ${code}`); - }); - - child.stdout.on("data", (data: any) => { - console.log(`stdout: ${data.toString()}`); + detached: true, + stdio: "ignore", }); + child.unref(); // Write the current version of vscode extension to a file called server_version.txt fs.writeFileSync(serverVersionPath(), getExtensionVersion()); |