[PATCH 13/17] Add an option to only capture stdout with execWithCapture