i need to run a command-line program, read its stdout/stdin and write its stdin.
In few words i need to do what this python script does:
r,w,e = popen2.popen3('mount -t reiserfs ./MyDisks/ecnrypteddisk ./mnt/mydisk -o loop,encryption=AES256,rw -p 0');
for line in e.readlines():
print 'E: ' + line
for line in r.readlines():
print 'R: ' + line