aboutsummaryrefslogtreecommitdiff
path: root/butl/process.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-31 13:51:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-31 13:51:55 +0200
commit32e8dbc3558a7b9ddecad50a9eb241b5e36f6c02 (patch)
tree0e47f5f50ff4223122818cea96582107ebf0f577 /butl/process.ixx
parentb1663a49f512303550efeb117fb265dd6beb038c (diff)
Add ability for process to change child's working directory
Diffstat (limited to 'butl/process.ixx')
-rw-r--r--butl/process.ixx14
1 files changed, 14 insertions, 0 deletions
diff --git a/butl/process.ixx b/butl/process.ixx
new file mode 100644
index 0000000..0506793
--- /dev/null
+++ b/butl/process.ixx
@@ -0,0 +1,14 @@
+// file : butl/process.ixx -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+namespace butl
+{
+ inline process::
+ process (char const* args[], int in, int out, int err)
+ : process (nullptr, args, in, out, err) {}
+
+ inline process::
+ process (char const* args[], process& in, int out, int err)
+ : process (nullptr, args, in, out, err) {}
+}