Use open() instead of system() to run xclip
commit522495fb2d3eeee79ed38c10b7570a3c97153126
authorMiciah Dashiel Butler Masters <miciah.masters@gmail.com>
Wed, 24 Jun 2009 13:36:38 +0000 (24 13:36 +0000)
committerMiciah Dashiel Butler Masters <miciah.masters@gmail.com>
Wed, 24 Jun 2009 13:36:38 +0000 (24 13:36 +0000)
treea75b46a2f537635a916e0cef54cd5f30b5aa1159
parentcfda20fde696e55eca0f54845d35050a898128b1
Use open() instead of system() to run xclip

If using xclip, do not use system() to run it, but instead use
open/print/close to pipe the text directly into xclip.

The usage of xclip was re-introduced in commit
d445476b6c0eca2472564c447400f28081b8799b.
mark-and-yank