Files
wakey/remote/wslfix.sh
T
lda Verified 3476892cd1 fix(terminal): harden relay lifecycle and session cleanup
- bound relay input and detach saturated output transports
- drain PTY output after child exit
- make terminal close lifecycle race-safe
- prune expired CC sessions and audit closure reasons
- require matching agent hello/auth identities
- validate terminal IDs and PTY dimensions
2026-07-16 08:51:55 +07:00

8 lines
194 B
Bash

#!/usr/bin/env bash
set -euo pipefail
# sometimes it breaks, run to fix
sudo sh -c 'echo :WSLInterop:M::MZ::/init:PF > /usr/lib/binfmt.d/WSLInterop.conf'
sudo systemctl restart systemd-binfmt