Skip to content

propagate error on AWS shell back to client #18

@yaroslavvb

Description

@yaroslavvb

Make run2 which captures stdout/stderr by default and prints it on error.
print(task.run2(somecommand)) #=> prints merged stdout/stderr

Use do_something 2>&1 | tee -a some_file

Then make run2 the default run method

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions