aboutsummaryrefslogtreecommitdiff
path: root/butl/process
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-25 15:25:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-25 15:25:50 +0200
commitcdc67ad0cf1e102568396b0649dd18ea1223d785 (patch)
treeeecdcef69fdb95eab4eed9ef9943fc54e8a8d530 /butl/process
parent110de28be0b09ed8d2b445769a59ea66c07c83d7 (diff)
Ignore empty cwd in process
Diffstat (limited to 'butl/process')
-rw-r--r--butl/process3
1 files changed, 2 insertions, 1 deletions
diff --git a/butl/process b/butl/process
index bb77684..bbd0162 100644
--- a/butl/process
+++ b/butl/process
@@ -60,7 +60,8 @@ namespace butl
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.
+ // current working directory of the child process. NULL and empty
+ // cwd arguments are ignored.
//
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);