Installtools und Liste der python packages an die neuere Arte der Python installation angepasst

This commit is contained in:
2026-10-20 14:01:33 +02:00
parent 79a7d2d750
commit 22e9796593
8 changed files with 33 additions and 26 deletions
+4 -1
View File
@@ -74,8 +74,11 @@ class TestRunner:
# Execute getexdraw.bat with automated input to handle pause
cmd = [str(self.getexdraw_bat), str(dxf_file)]
# Ergebnisse in work statt im produktiven Netzlaufwerk ablegen
env = os.environ.copy()
env['PROJECT_BOM_RESULTS'] = str(self.work_dir)
# Send newline to handle the pause command
result = subprocess.run(cmd, capture_output=True, text=True, shell=True, input="\n")
result = subprocess.run(cmd, capture_output=True, text=True, shell=True, input="\n", env=env)
# Check if the expected output files were created instead of relying on return code
# The batch script always exits with code 1 due to interactive design, but files are created