stripe / subprocess

A port of Python's subprocess module to Ruby
MIT License
208 stars 17 forks source link

Returning an instance of CompletedProcess #72

Open sandstrom opened 1 year ago

sandstrom commented 1 year ago

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 commented 1 year ago

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.