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

Returning an instance of CompletedProcess #72

Open
sandstrom opened this issue May 21, 2023 · 1 comment
Open

Returning an instance of CompletedProcess #72

sandstrom opened this issue May 21, 2023 · 1 comment

Comments

@sandstrom
Copy link

Thanks for a great library! 🏅

The Python library high-level API has been modified somewhat.

It's now generally invoked with run and an instance of CompletedProcess is returned. On this instance, one can access stdout, stderr, return code, etc.

I think this is a pretty nice API to work with, so just curious if there are any plans to implement a similar high-level API for this library?

More details:
https://docs.python.org/3/library/subprocess.html#using-the-subprocess-module
https://docs.python.org/3/library/subprocess.html#subprocess.CompletedProcess

@qaisjp
Copy link
Collaborator

qaisjp commented Aug 20, 2023

Hi, and thank you!

We don't have any plans right now to update this to the new Python API.

I'm open to doing something like this, but I think it would be quite a challenge to migrate all of the Stripe to the new subprocess API.

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

No branches or pull requests

2 participants