From 6ea179f5c53c40c83d3cc023ad1e3ea36efaeed5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Sep 2015 11:22:23 +0200 Subject: Cosmetic changes --- butl/process | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'butl/process') 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 -- cgit v1.1