swallow stderr or stdout