chcp 65001 | Out-Null [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 $vaultPath = Split-Path -Parent $PSScriptRoot Set-Location $vaultPath $watcher = Start-Process -FilePath python -ArgumentList "`"$PSScriptRoot\photo_watcher.py`"" -WindowStyle Hidden -PassThru try { claude } finally { if ($watcher -and -not $watcher.HasExited) { Stop-Process -Id $watcher.Id -Force } }