Occasionally I found myself wanting to paste stuff from an st instance I
just closed, so I wrote the attached. I'll clean it up later and post to
the wiki, probably use fork() and pipe() directly instead of popen so
that I can bypass the shell, maybe #ifdef instead of using an int.
I'm sure people'll object to using posix_spawn and linking against
librt, so I'll leave it at fork.
Cheers,
Alex Pilon
Received on Tue May 03 2016 - 16:00:33 CEST