print stdout and stderr