blob: 1212b2297cf4e65fad649b4d71ffbac6fe856b4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// 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 ();
}
inline std::ostream&
operator<< (std::ostream& o, const process_args& a)
{
process::print (o, a.argv, a.argc);
return o;
}
}
#endif // BUTL_PROCESS_IO
|