Skip to content

Capturing/silenting stdout/stderr #16

@balupton

Description

@balupton

Maybe I missed it, but there wasn't any documentation on capturing stderr. I'm guessing it would be:

let stderr_no_stdout = $(bash -c 'echo stdout; echo stderr >/dev/stderr; echo tty >/dev/tty' >/dev/null)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions