mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
updated python package testing to json format
This commit is contained in:
@@ -3,7 +3,7 @@ import path from 'path';
|
||||
|
||||
export function runPythonScript(scriptPath, args = []) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const pythonProcess = spawn('python3', [scriptPath, ...args]);
|
||||
const pythonProcess = spawn('python', [scriptPath, ...args]);
|
||||
|
||||
let stdout = '';
|
||||
let stderr = '';
|
||||
|
||||
Reference in New Issue
Block a user