themoken / canto-curses

Curses frontend for Canto daemon
GNU General Public License v2.0
92 stars 7 forks source link

yank.py: Fix problems with yanking shell metacharacters. #23

Closed dkasak closed 9 years ago

dkasak commented 9 years ago

Switch to using the subprocess module instead of going through the shell (via system()) since the latter is problematic if the string to be yanked contains shell metacharacters.