Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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