[#subprocess-Popen-communicate-0a] = xref:subprocess.adoc[subprocess]::xref:subprocess/Popen.adoc[Popen]::communicate :relfileprefix: ../../ :mrdocs: Reads the child's output and error until it exits, without sending any input. == Synopsis Declared in `<util/subprocess.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::pair<OutBuffer, ErrBuffer> communicate(); ---- == Return Value The captured output and error buffers. [.small]#Created with https://www.mrdocs.com[MrDocs]#