mirror of
https://github.com/quexten/goldwarden.git
synced 2024-11-24 06:17:44 +03:00
5 lines
165 B
Python
5 lines
165 B
Python
import subprocess
|
|
|
|
def write(text):
|
|
process = subprocess.Popen(["/bin/sh", "-c", "wl-copy"], stdin=subprocess.PIPE)
|
|
process.communicate(text.encode('utf-8')) |