shell#

class Bash#

Bases: object

source_rcfile(file: str) dict[str, str]#

Source the shell script file and return the state before/after

Parameters:

file – The file to source

Returns:

The environment resulting from source file

Return type:

environ

source_rcfile(file: str) None#
source(file: str) Generator[None, None, None]#