adding a \n before stdout/stderr logs in run()