summaryrefslogtreecommitdiff
path: root/extension/src/activation/environmentSetup.ts
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-05-28 15:11:46 -0400
committerNate Sesti <sestinj@gmail.com>2023-05-28 15:11:46 -0400
commit22cd4f90a10cd8174a8f6520d045c5da4d0b5066 (patch)
treedcaaf9526c3b10b3b80b1d2b4452f2e555801d1d /extension/src/activation/environmentSetup.ts
parent78513ba9a63635a777262806793394131ad43744 (diff)
downloadsncontinue-22cd4f90a10cd8174a8f6520d045c5da4d0b5066.tar.gz
sncontinue-22cd4f90a10cd8174a8f6520d045c5da4d0b5066.tar.bz2
sncontinue-22cd4f90a10cd8174a8f6520d045c5da4d0b5066.zip
First load fail error fixed
Diffstat (limited to 'extension/src/activation/environmentSetup.ts')
-rw-r--r--extension/src/activation/environmentSetup.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index 1e921c18..93a471ff 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -143,9 +143,7 @@ export async function startContinuePythonServer() {
console.log("Continue python server already running");
return;
}
- } catch (e) {
- console.log("Error checking for existing server", e);
- }
+ } catch (e) {}
let activateCmd = ". env/bin/activate";
let pythonCmd = "python3";
@@ -162,6 +160,7 @@ export async function startContinuePythonServer() {
// exec(command);
let child = spawn(command, {
shell: true,
+ detached: true,
});
child.stdout.on("data", (data: any) => {
console.log(`stdout: ${data}`);