#NEWLINE# @ staticmethod #NEWLINE# def _clip( inout , selection ) : #NEWLINE# #INDENT# pipe = { #NEWLINE# #INDENT# ( 'std' + inout ) : subprocess . PIPE , #NEWLINE# #UNINDENT# } #NEWLINE# return subprocess . Popen ( [ 'xclip' , ( '-' + inout ) , '-selection' , selection ] , ** pipe )