mirror of
https://github.com/koush/scrypted.git
synced 2026-02-19 04:52:32 +00:00
server: cleanup old dependencies on runtime version change
This commit is contained in:
@@ -47,7 +47,7 @@ export class PythonRuntimeWorker extends ChildProcessWorker {
|
||||
}
|
||||
}
|
||||
|
||||
const pythonPath = os.platform() === 'win32' ? 'py.exe' : 'python3';
|
||||
const pythonPath = process.env.SCRYPTED_PYTHON_PATH || (os.platform() === 'win32' ? 'py.exe' : 'python3');
|
||||
|
||||
this.worker = child_process.spawn(pythonPath, args, {
|
||||
// stdin, stdout, stderr, peer in, peer out
|
||||
|
||||
Reference in New Issue
Block a user