From c4292d57e2e67dfcdac9004f8edb229976f6669a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 13 Sep 2019 13:33:02 +0300 Subject: Add builtins support to command running API --- libbutl/command.mxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libbutl/command.mxx') 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. -- cgit v1.1