wl-clipboard
wl-clipboard copied to clipboard
Does wl-copy work from atjobs? I certainly cannot make it work piping within emacs
In emacs, M-| runs the command shell-command-on-region
Well if that command is wl-cppy, everything gets stuck.
I even tried wrappers like
(set -eux
cd /tmp
t=/tmp/_my_wl-copy_m_$$
cat > oo <<EOF
set -eux
cat > $t
ls -l $t
sleep 11
cd /tmp;
(cat $t | nohup wl-copy -f) &
echo Done.
EOF
sh /tmp/oo
)&
Apparently wl-copy needs a real terminal around to function.
I wonder if wl-copy would work from a cronjob or atjob.
Workaround: https://emacs.stackexchange.com/questions/82431/why-does-wl-copy-get-stuck-in-emacs#comment138781_82431 .