mirror of
https://github.com/koush/scrypted.git
synced 2026-04-27 02:11:08 +01:00
server: add python plugin id to command line
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user