Managed stdout & stderr the right way