Skip to content

Executing cf ssh over CliConnection.CliCommand mixes stdout and stderr #1074

@michele-mancioppi

Description

@michele-mancioppi

When executing cf ssh my_app -c '>&2 echo Ciao', "Ciao" is printed correctly to stderr.

When executing cliConnection.CliCommand("ssh", "my_app", "-c", ">&2 echo Ciao"), "Ciao" is printed to stdout, which makes it fundamentally impossible to write good wrappers around cf ssh for non-trivial commands.

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