skip to content
Alvin Lucillo

Fixing clipboard error in WSL

/ 1 min read

If piping text to the Windows clipboard produces an error like the one below, a possible fix can be to restart the systemd-binfmt service

echo "test" | clip.exe
sh: exec format error: clip.exe

sudo systemctl restart systemd-binfmt