Implemented the string based stdout/stderror functions