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

Store raw, un-decoded subprocess stdout/err bytes for advanced users/debugging? #354

Open
bitprophet opened this issue Jun 3, 2016 · 0 comments

Comments

@bitprophet
Copy link
Member

As noted in #350 and other encoding tickets, folks sometimes request access to the raw bytes from the subprocess, instead of the decoded-to-Unicode-strings version that Invoke deals with internally (up to our own stdout, if written there).

This is probably not a big thing to implement, would need to be a separate field on Result, but there are implications re: extra memory used (for large amounts of output) so some thought is necessary re: whether this is an always-available thing or an opt-in behavior.

It's also arguably less necessary now that encoding & organization of related code is marginally more sane than it used to be, and also arguably a case for #353 or similar. I.e. - what would these users be doing with their raw bytes that we didn't do by decoding it using their configured encoding? Shouldn't we just make it easier for that to occur automatically instead? etc.

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