aboutsummaryrefslogtreecommitdiff
path: root/butl/process
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-10 11:22:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-10 11:22:23 +0200
commit6ea179f5c53c40c83d3cc023ad1e3ea36efaeed5 (patch)
tree601b8d094ba33d70cfabf67888adf48ab5309e65 /butl/process
parent43c591d58e3a2c77185f2f62348dc3f049764819 (diff)
Cosmetic changes
Diffstat (limited to 'butl/process')
-rw-r--r--butl/process8
1 files changed, 4 insertions, 4 deletions
diff --git a/butl/process b/butl/process
index 534ad88..bb77684 100644
--- a/butl/process
+++ b/butl/process
@@ -47,7 +47,7 @@ namespace butl
// exceptions (e.g., if exec() failed) can be thrown in the child
// version of us.
//
- process (char const* args[], int in = 0, int out = 1, int err = 2);
+ process (char const* const args[], int in = 0, int out = 1, int err = 2);
// The "piping" constructor, for example:
//
@@ -57,13 +57,13 @@ namespace butl
// rhs.wait (); // Wait for last first.
// lhs.wait ();
//
- process (char const* args[], process& in, int out = 1, int err = 2);
+ process (char const* const args[], process& in, int out = 1, int err = 2);
// Versions of the above constructors that allow us to change the
// current working directory of the child process.
//
- process (const char* cwd, char const*[], int = 0, int = 1, int = 2);
- process (const char* cwd, char const*[], process& in, int = 1, int = 2);
+ process (const char* cwd, char const* const[], int = 0, int = 1, int = 2);
+ process (const char* cwd, char const* const[], process&, int = 1, int = 2);
// Wait for the process to terminate. Return true if the process
// terminated normally and with the zero exit status. Throw