Farm: score-v2 Laeufer haelt den Prozess-Handle (ExitCode war leer)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
3c82057908
commit
b19975a7ff
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user