MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / CaptureStderr

Function CaptureStderr

rtpose_wrapper/src/gtest/gtest-all.cpp:8417–8419  ·  view source on GitHub ↗

Starts capturing stderr.

Source from the content-addressed store, hash-verified

8415
8416// Starts capturing stderr.
8417void CaptureStderr() {
8418 CaptureStream(kStdErrFileno, "stderr", &g_captured_stderr);
8419}
8420
8421// Stops capturing stdout and returns the captured string.
8422String GetCapturedStdout() { return GetCapturedStream(&g_captured_stdout); }

Callers 1

AssumeRoleMethod · 0.85

Calls 1

CaptureStreamFunction · 0.85

Tested by

no test coverage detected