Skip to content

Q: streaming output from an execute #395

@jrochkind

Description

@jrochkind

Using sshkit 1.11.1 via Capistrano 3.4.0.

I'd like to do an execute, but get streaming output to the console as it appears from the execute. For me, execute seems to have no output. capture can capture output (that you can write out), but only once it's all done, not streaming.

Looking at the sshkit README, I think I could write my own interaction_handler to do this, not because I actually want any interaction, just to capture and write to console the output as it happens.

But it seems like there's probably a built-in way to do this I'm not finding?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions