server: add python plugin id to command line

This commit is contained in:
Koushik Dutta
2023-03-04 14:05:04 -08:00
parent 9eb5029128
commit 29c98777e9
4 changed files with 48 additions and 16 deletions

View File

@@ -56,6 +56,8 @@ export class PythonRuntimeWorker extends ChildProcessWorker {
pythonPath ||= 'python3';
}
args.push(this.pluginId);
this.worker = child_process.spawn(pythonPath, args, {
// stdin, stdout, stderr, peer in, peer out
stdio: ['pipe', 'pipe', 'pipe', 'pipe', 'pipe'],