Skip to main content

Command.arg

def Command.arg(arg: str, /)

Command.args

def Command.args(args: list[str], /)

Command.current_dir

def Command.current_dir(dir: str, /)

Command.env

def Command.env(
key: str,
value: None | str,
/,
)

Command.spawn

def Command.spawn(
) -> std.process.Child

Command.stderr

def Command.stderr(io: str, /)
Configuration for the child process’s standard error (stderr) handle. Defaults to [inherit] when used with [spawn] or [status], and defaults to [piped] when used with [output].

Command.stdin

def Command.stdin(io: str, /)
Configuration for the child process’s standard input (stdin) handle. Defaults to [inherit] when used with [spawn] or [status], and defaults to [piped] when used with [output].

Command.stdout

def Command.stdout(io: str, /)
Configuration for the child process’s standard output (stdout) handle. Defaults to [inherit] when used with [spawn] or [status], and defaults to [piped] when used with [output].