Skip to content

Commit

Permalink
improve console feedback during one-time python install
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Aug 30, 2024
1 parent e2a46d1 commit adc2b29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ const launchPythonServer = async () => {

rehydrateProc.on("exit", code => {
if (code===0) {
console.log(`Python installation successfully completed`)

pythonProcess = spawn(pythonPath, [scriptPath], {
cwd: path.dirname(scriptPath)
});
Expand All @@ -119,7 +121,7 @@ const launchPythonServer = async () => {
console.log(`stdout: ${data}`);
});
} else {
console.log(`rehydration of python bundle exited with code ${code}`)
console.log(`Rehydration of python bundle exited with code ${code}`)
}
});
});
Expand Down

0 comments on commit adc2b29

Please sign in to comment.