diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-21 20:02:35 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-24 11:27:19 +0300 |
commit | a128eb0961ccf820ff2142897795b48723d842bd (patch) | |
tree | 291351ef0ed9f428b3f5c8a1bf22483d3350bc15 /butl/pager.cxx | |
parent | 070d99ca6d714e8789e67e2e797a1bf16ba35528 (diff) |
Make process status optional
Diffstat (limited to 'butl/pager.cxx')
-rw-r--r-- | butl/pager.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/butl/pager.cxx b/butl/pager.cxx index 3d429f5..b154a5c 100644 --- a/butl/pager.cxx +++ b/butl/pager.cxx @@ -28,6 +28,10 @@ namespace butl bool verbose, const string* pager, const vector<string>* pager_options) + // Create successfully exited process. Will "wait" for it if fallback to + // non-interactive execution path. + // + : p_ (optional<process::status_type> (0)) { // If we are using the default pager, try to get the terminal width // so that we can center the output. |