remove result
output the error code because linux can't convert it to a string
output and stderr