diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-18 19:57:28 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-18 20:53:38 +0300 |
commit | 23916db38cab1264ba844ce04cdcbb1b424d7942 (patch) | |
tree | 5e4cd326583236d2f01140493de7557d411bb1ad /butl/process-io | |
parent | ed93e07b1b7a9e0ba99609a9223e43247ff4224e (diff) |
Add process_args
Diffstat (limited to 'butl/process-io')
-rw-r--r-- | butl/process-io | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/butl/process-io b/butl/process-io index 42a720a..1212b22 100644 --- a/butl/process-io +++ b/butl/process-io @@ -16,6 +16,13 @@ namespace butl { return o << p.recall_string (); } + + inline std::ostream& + operator<< (std::ostream& o, const process_args& a) + { + process::print (o, a.argv, a.argc); + return o; + } } #endif // BUTL_PROCESS_IO |