server: use target rather than prefix

This commit is contained in:
Koushik Dutta
2024-03-08 09:36:36 -08:00
parent dd1efe0756
commit 97e31ec51d
4 changed files with 19 additions and 33 deletions

View File

@@ -90,6 +90,8 @@ export class PythonRuntimeWorker extends ChildProcessWorker {
// stdin, stdout, stderr, peer in, peer out
stdio: ['pipe', 'pipe', 'pipe', 'pipe', 'pipe'],
env: Object.assign({
// rev this if the base python version or server characterstics change.
SCRYPTED_BASE_VERSION: '20240308',
PYTHONUNBUFFERED: '1',
PYTHONPATH,
SCRYPTED_DEBUGPY_TARGET,