aboutsummaryrefslogtreecommitdiff
path: root/libbutl/command.mxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-09-13 13:33:02 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-09-27 17:08:05 +0300
commitc4292d57e2e67dfcdac9004f8edb229976f6669a (patch)
tree0c9be2ed21bbb18dfede60769c9c864c5a2f550d /libbutl/command.mxx
parent1c6758009e82c47b5b341d418be2be401ef31482 (diff)
Add builtins support to command running API
Diffstat (limited to 'libbutl/command.mxx')
-rw-r--r--libbutl/command.mxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/libbutl/command.mxx b/libbutl/command.mxx
index e2a9737..0e6617b 100644
--- a/libbutl/command.mxx
+++ b/libbutl/command.mxx
@@ -31,10 +31,11 @@ import butl.optional;
LIBBUTL_MODEXPORT namespace butl
{
- // Run a process, interpreting the command line as whitespace-separated,
- // potentially quoted program path, arguments, and redirects. Throw
- // std::invalid_argument on the parsing error, ios::failure on the
- // underlying OS error, and process_error on the process running error.
+ // Run a process or a builtin, interpreting the command line as
+ // whitespace-separated, potentially quoted program path/builtin name,
+ // arguments, and redirects. Throw std::invalid_argument on the parsing
+ // error, ios::failure on the underlying OS error, process_error on the
+ // process running error and std::system_error on the builtin running error.
//
// The process environment path is unused and must point to the empty
// process path.