Forgot to move the pipe to the right spot for a here document.
This commit is contained in:
parent
23badb0940
commit
83fadb8854
@ -29,7 +29,7 @@ class command():
|
||||
return
|
||||
clipboard = self.env['runtime']['memoryManager'].getIndexListElement('clipboardHistory')
|
||||
for display in range(10):
|
||||
p = Popen('su ' + self.env['general']['currUser'] + ' -c "cat << \\\"EOF\\\"\n' + clipboard + '\nEOF\n | xclip -d :' + str(display) + ' -selection c"', stdout=PIPE, stderr=PIPE, shell=True)
|
||||
p = Popen('su ' + self.env['general']['currUser'] + ' -c "cat << \\\"EOF\\\" | xclip -d :' + str(display) + ' -selection clipboard\n' + clipboard + '\nEOF\n"', stdout=PIPE, stderr=PIPE, shell=True)
|
||||
stdout, stderr = p.communicate()
|
||||
self.env['runtime']['outputManager'].interruptOutput()
|
||||
#screenEncoding = self.env['runtime']['settingsManager'].getSetting('screen', 'encoding')
|
||||
|
Loading…
Reference in New Issue
Block a user