Redirect

A shell redirect parsed from a bash command (e.g. > file.txt, 2>&1).

Usage

Source

Redirect(
    op,
    target,
    fd=None,
)

Parameter Attributes

op: str
target: str
fd: int | None = None