6
6
__docformat__ = "restructuredtext"
8
8
def write_to_cmd(args, input=""):
9
process = Popen(args, bufsize=len(input), stdin=PIPE, stdout=PIPE,
10
process = Popen(args, bufsize=len(input), stdin=PIPE, stdout=PIPE,
13
process = Popen(args, bufsize=len(input), stdin=PIPE, stdout=PIPE,
11
16
stdout, stderr = process.communicate(input)