Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service exec output should separate stdout and stderr #2341

Open
praetoriansentry opened this issue Mar 27, 2024 · 0 comments
Open

Service exec output should separate stdout and stderr #2341

praetoriansentry opened this issue Mar 27, 2024 · 0 comments

Comments

@praetoriansentry
Copy link

praetoriansentry commented Mar 27, 2024

Background & motivation

image

In the example above, I'm using kurtosis service exec to grab the content of a file. At the top of the standard output I get "The command was successfully executed and returned '0'. Output was:" In order to pass this data to a parser like jq, I need to trim off the top line.

Desired behaviour

It would be great if the actual output was written to standard output via out.PrintOutLn and if the log message was written to standard error via out.PrintErrLn.

This would just simplify some scripting / automation on top of Kurtosis cli

How important is this to you?

Nice to have; this feature would make using Kurtosis more enjoyable.

What area of the product does this pertain to?

CLI: the Command Line Interface

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

No branches or pull requests

1 participant