Expand description
Implementation of the simple command semantics.
This module exports some utility functions that are used in implementing the
simple command semantics and can be used in other modules. For the execution
of simple commands, see the implementation of Command
for
syntax::SimpleCommand
.
Functionsยง
- execute_
function_ body - Executes the body of the function.
- replace_
current_ process - Substitutes the currently executing shell process with the external utility.
- start_
external_ utility_ in_ subshell_ and_ wait - Starts an external utility in a subshell and waits for it to finish.
- to_
c_ strings - Converts fields to C strings.