А
Size: a a a
А
HF
БГ
p = subprocess.Popen(exe, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
# Use thread to just feed as many newlines as needed to stdin of subprocess
feeder = threading.Thread(target=feednewlines, args=(p.stdin,))
feeder.daemon = True
feeder.start()
HF
M
HF
БГ
БГ
HF
M
M
БГ
M
БГ
HF
HF
M
Б
БГ