A simple wrapper around stdin, stdout and stderr