reverted temporary test code

This commit is contained in:
fariouche
2025-12-02 21:29:07 +01:00
parent 1e557d5d84
commit 946203146d
2 changed files with 4 additions and 4 deletions

View File

@@ -308,10 +308,10 @@ class KiCADServer {
console.error(`Using Python executable: ${pythonExe}`);
this.pythonProcess = spawn(pythonExe, [this.kicadScriptPath], {
stdio: ['pipe', 'pipe', 'pipe'],
/*env: {
env: {
...process.env,
PYTHONPATH: 'C:/Program Files/KiCad/9.0/lib/python3/dist-packages'
}*/
}
});
// Listen for process exit

View File

@@ -269,10 +269,10 @@ export class KiCADMcpServer {
}
this.pythonProcess = spawn(pythonExe, [this.kicadScriptPath], {
stdio: ['pipe', 'pipe', 'pipe'],
/*env: {
env: {
...process.env,
PYTHONPATH: process.env.PYTHONPATH || 'C:/Program Files/KiCad/9.0/lib/python3/dist-packages'
}*/
}
});
// Listen for process exit