aboutsummaryrefslogtreecommitdiff
path: root/butl/process-io
diff options
context:
space:
mode:
Diffstat (limited to 'butl/process-io')
-rw-r--r--butl/process-io21
1 files changed, 21 insertions, 0 deletions
diff --git a/butl/process-io b/butl/process-io
new file mode 100644
index 0000000..42a720a
--- /dev/null
+++ b/butl/process-io
@@ -0,0 +1,21 @@
+// file : butl/process-io -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BUTL_PROCESS_IO
+#define BUTL_PROCESS_IO
+
+#include <ostream>
+
+#include <butl/process>
+
+namespace butl
+{
+ inline std::ostream&
+ operator<< (std::ostream& o, const process_path& p)
+ {
+ return o << p.recall_string ();
+ }
+}
+
+#endif // BUTL_PROCESS_IO