if it was successful, should print stdout aswell