Utility for wrapping stdout/stderr/stdin of interactive programs