From b19975a7ff4d86e4cefaada755f195e44639c19c Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 6 Dec 2026 03:17:19 +0100 Subject: [PATCH] Farm: score-v2 Laeufer haelt den Prozess-Handle (ExitCode war leer) Co-Authored-By: Claude Opus 5.5 --- messung/farm/innovation/scorev2/scorev2-teil.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messung/farm/innovation/scorev2/scorev2-teil.ps1 b/messung/farm/innovation/scorev2/scorev2-teil.ps1 index 6861b88f..e74074a3 100644 --- a/messung/farm/innovation/scorev2/scorev2-teil.ps1 +++ b/messung/farm/innovation/scorev2/scorev2-teil.ps1 @@ -14,7 +14,7 @@ if ($Gruppe -eq 'kern') { $env:RICHTER_KURVE = "$Z\eingabe\antwortkurve-scorecar $t0 = Get-Date; $spitze = 0 $p = Start-Process -FilePath $E -ArgumentList @('richter-lock-wert', "$d\spots.jsonl", "$Z\ev-v2", "$Z\eingabe\modell.json", "$Faeden", $spalten) -NoNewWindow -PassThru ` -RedirectStandardOutput "$d\$Gruppe.out.log" -RedirectStandardError "$d\$Gruppe.err.log" -try { $p.PriorityClass = 'BelowNormal' } catch {} +$null = $p.Handle; try { $p.PriorityClass = 'BelowNormal' } catch {} # Handle festhalten, sonst ist ExitCode leer while (-not $p.HasExited) { try { $p.Refresh(); $spitze = [math]::Max($spitze, $p.PeakWorkingSet64) } catch {}; Start-Sleep -Milliseconds 500 } $p.WaitForExit() "RUECKGABE $($p.ExitCode) nach $([math]::Round(((Get-Date) - $t0).TotalMinutes, 2)) min | Spitze Arbeitsspeicher $([math]::Round($spitze / 1GB, 2)) GB"