Skip to content

bash

bash documentation

footman._stubs.bash.Bash

Bases: Tool

__call__

__call__(command: str, /, **flags: Any) -> Result

Run a command string in bash — bash -c "<command>".

A real shell: pipes, redirects, globbing and $VAR all work. Reach for this when you deliberately want a shell; run("…") stays shell-free.

Parameters:

Name Type Description Default
command str

the command line to run in bash.

required