Module simple_command

Module simple_command 

Source
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.