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

stderr output #842

Open
jeronimo-planet opened this issue Oct 7, 2024 · 2 comments
Open

stderr output #842

jeronimo-planet opened this issue Oct 7, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jeronimo-planet
Copy link

jeronimo-planet commented Oct 7, 2024

When we do an exec, we get an { ouput, exitCode }.
It would be nice if we could get a { stdout, stderr, exitCode }.
Do you guys think it's possible?

@kiview
Copy link
Member

kiview commented Oct 8, 2024

This is the result type in tc-java, so that would be a quite alinged implementation:

class ExecResult {
    int exitCode;
    String stdout;
    String stderr;
}

@cristianrgreco cristianrgreco added the enhancement New feature or request label Oct 14, 2024
@cristianrgreco cristianrgreco added the good first issue Good for newcomers label Nov 15, 2024
@cristianrgreco
Copy link
Collaborator

PR welcome. I'd suggest keeping the existing output field, and adding the stdout/stderr fields. Otherwise we lose the ability to log the output in time order. Removing the output would also be a breaking change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants