You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
notify is broken on Windows: here-string flattened and < eaten by cmd #6
The toast-notification script in src/tools/system.ts:345-360 is built as a multi-line PowerShell here-string and passed as an inline argument through cmd.
Two failures compound:
Newlines are flattened, so @...@ no longer parses as a here-string.
cmd interprets the literal <toast> XML as input redirection.
Repro
notify(title: x, message: y)
-> Error: Command failed: powershell -Command ...
< was unexpected at this time.
Fix
Pass the script via stdin or a temp .ps1 file rather than as an inline cmd argument, so newlines and < survive.
Activity