diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-25 15:25:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-25 15:25:50 +0200 |
commit | cdc67ad0cf1e102568396b0649dd18ea1223d785 (patch) | |
tree | eecdcef69fdb95eab4eed9ef9943fc54e8a8d530 /butl/process | |
parent | 110de28be0b09ed8d2b445769a59ea66c07c83d7 (diff) |
Ignore empty cwd in process
Diffstat (limited to 'butl/process')
-rw-r--r-- | butl/process | 3 |
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); |