Skip to content

bash

bash documentation

Bash

Bases: Tool[_R]

Methods:

Name Description
__call__

Run a command string in bash: bash -c "<command>". A real shell: pipes,

Attributes:

Name Type Description
argv Bash[Argv]

argv property

argv: Bash[Argv]

__call__

__call__(command: str | PathLike[str], /, *args: str | PathLike[str], **flags: Any) -> _R

Run a command string in bash: bash -c "<command>". A real shell: pipes, redirects, globbing and variables all work. run(...) stays shell-free.